Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose: Display Formatting button as "Help".

Gittenburgb245e1e49a9b
diff --git a/static/styles/compose.css b/static/styles/compose.css
index ce577121584..a40e1c6be40 100644
--- a/static/styles/compose.css
+++ b/static/styles/compose.css
@@ -21,7 +21,7 @@
}
}
- .drafts-link {
+ .message-control-link {
float: left;
}
@@ -126,10 +126,9 @@
box-shadow: none !important;
}
- .drafts-link {
+ .message-control-link {
position: relative;
- margin-right: 1em;
- margin-left: 5px;
+ margin-right: 5px;
top: 2px;
}
}
diff --git a/templates/zerver/app/compose.html b/templates/zerver/app/compose.html
index 4fb5c19ab78..6b6e5a15c29 100644
--- a/templates/zerver/app/compose.html
+++ b/templates/zerver/app/compose.html
@@ -103,8 +103,8 @@
<a role="button" id="undo_markdown_preview" class="message-control-button fa fa-edit" aria-label="{{ _('Write') }}" tabindex=0 style="display:none;" title="{{ _('Write') }}"></a>
<a role="button" class="message-control-button fa fa-video-camera video_link" aria-label="{{ _('Add video call') }}" tabindex=0 title="{{ _('Add video call') }}"></a>
<a role="button" class="message-control-button fa fa-smile-o" aria-label="{{_('Add emoji')}}" id="emoji_map" tabindex=0 title="{{ _('Add emoji') }}"></a>
- <a role="button" class="message-control-button fa fa-font" aria-label="{{ _('Formatting') }}" tabindex=0 title="{{ _('Formatting') }}" data-overlay-trigger="message-formatting"></a>
- <a class="drafts-link" href="#drafts" title="{{ _('Drafts') }} (d)">{{ _('Drafts') }}</a>
+ <a class="message-control-link drafts-link" href="#drafts" title="{{ _('Drafts') }} (d)">{{ _('Drafts') }}</a>
+ <a role="button" class="message-control-link" tabindex=0 data-overlay-trigger="message-formatting">{{ _('Help') }}</a>
<span id="sending-indicator"></span>
<div id="send_controls" class="new-style">
<label id="enter-sends-label" class="compose_checkbox_label checkbox">