-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compose: Add stream privacy decorations in banner box.
- Loading branch information
Showing
3 changed files
with
74 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,27 @@ | ||
{{! Content of sent-message notifications }} | ||
<div class="compose-notifications-content"> | ||
{{note}} {{#if link_class}}<a href="{{above_composebox_narrow_url}}" class="{{link_class}}" data-message-id="{{link_msg_id}}">{{link_text}}</a>{{/if}} | ||
<button type="button" class="out-of-view-notification-close close">×</button> | ||
{{note}} | ||
{{#if link_class}} | ||
<a | ||
href="{{above_composebox_narrow_url}}" | ||
class="{{link_class}}" | ||
data-message-id="{{link_msg_id}}" | ||
>{{default_message}} | ||
{{#if is_global_stream}} | ||
<span class="compose-globe-icon"> | ||
<i class="fa fa-globe"></i> | ||
</span> | ||
{{else if is_private_stream}} | ||
<span class="compose-lock-icon"> | ||
<i class="fa fa-lock"></i> | ||
</span> | ||
{{else if is_stream_message}} | ||
<span class="hashtag"></span> | ||
{{/if}} | ||
{{message_recipient}}</a> | ||
{{/if}} | ||
<button | ||
type="button" | ||
class="out-of-view-notification-close close" | ||
>×</button> | ||
</div> |