mirror of https://github.com/zulip/zulip.git
Clean recipient_row.handlebars to use 4 space indents.
This commit is contained in:
parent
0494944f3f
commit
83da92c316
|
@ -1,73 +1,73 @@
|
||||||
{{#if is_stream}}
|
{{#if is_stream}}
|
||||||
<div class="message_header message_header_stream right_part">
|
<div class="message_header message_header_stream right_part">
|
||||||
<div class="message-header-wrapper">
|
<div class="message-header-wrapper">
|
||||||
<div class="message-header-contents">
|
<div class="message-header-contents">
|
||||||
{{! stream link }}
|
{{! stream link }}
|
||||||
<a class="message_label_clickable narrows_by_recipient stream_label {{color_class}}"
|
<a class="message_label_clickable narrows_by_recipient stream_label {{color_class}}"
|
||||||
style="background: {{background_color}}; border-left-color: {{background_color}};"
|
style="background: {{background_color}}; border-left-color: {{background_color}};"
|
||||||
href="{{stream_url}}"
|
href="{{stream_url}}"
|
||||||
title="{{#tr this}}Narrow to stream "__display_recipient__"{{/tr}}">
|
title="{{#tr this}}Narrow to stream "__display_recipient__"{{/tr}}">
|
||||||
{{! invite only lock }}
|
{{! invite only lock }}
|
||||||
{{#if invite_only}}
|
{{#if invite_only}}
|
||||||
<i class="icon-vector-lock invite-stream-icon" title="{{t 'This is an invite-only stream' }}"></i>
|
<i class="icon-vector-lock invite-stream-icon" title="{{t 'This is an invite-only stream' }}"></i>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{display_recipient}}
|
{{display_recipient}}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{{! hidden narrow icon for copy-pasting }}
|
{{! hidden narrow icon for copy-pasting }}
|
||||||
<span class="copy-paste-text">></span>
|
<span class="copy-paste-text">></span>
|
||||||
|
|
||||||
{{! topic stuff }}
|
{{! topic stuff }}
|
||||||
<span class="stream_topic">
|
<span class="stream_topic">
|
||||||
{{! topic link }}
|
{{! topic link }}
|
||||||
<a class="message_label_clickable narrows_by_subject"
|
<a class="message_label_clickable narrows_by_subject"
|
||||||
href="{{topic_url}}"
|
href="{{topic_url}}"
|
||||||
title="{{#tr this}}Narrow to stream "__display_recipient__", topic "__subject__"{{/tr}}">
|
title="{{#tr this}}Narrow to stream "__display_recipient__", topic "__subject__"{{/tr}}">
|
||||||
{{#if use_match_properties}}
|
{{#if use_match_properties}}
|
||||||
{{{match_subject}}}
|
{{{match_subject}}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{subject}}
|
{{subject}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{{! edit subject pencil icon }}
|
{{! edit subject pencil icon }}
|
||||||
{{#if always_visible_topic_edit}}
|
{{#if always_visible_topic_edit}}
|
||||||
<i class="icon-vector-pencil always_visible_topic_edit"></i>
|
<i class="icon-vector-pencil always_visible_topic_edit"></i>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if on_hover_topic_edit}}
|
{{#if on_hover_topic_edit}}
|
||||||
<i class="icon-vector-pencil on_hover_topic_edit"></i>
|
<i class="icon-vector-pencil on_hover_topic_edit"></i>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{! exterior links (e.g. to a trac ticket) }}
|
{{! exterior links (e.g. to a trac ticket) }}
|
||||||
{{#each subject_links}}
|
{{#each subject_links}}
|
||||||
<a href="{{this}}" target="_blank">
|
<a href="{{this}}" target="_blank">
|
||||||
<i class="icon-vector-external-link-sign"></i>
|
<i class="icon-vector-external-link-sign"></i>
|
||||||
</a>
|
</a>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="topic_edit">
|
<span class="topic_edit">
|
||||||
<span class="topic_edit_form" id="{{id}}"></span>
|
<span class="topic_edit_form" id="{{id}}"></span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<i class="icon-vector-eye-close on_hover_topic_mute" data-stream-id="{{stream_id}}" data-topic-name="{{subject}}"></i>
|
<i class="icon-vector-eye-close on_hover_topic_mute" data-stream-id="{{stream_id}}" data-topic-name="{{subject}}"></i>
|
||||||
<span class="recipient_row_date {{#if show_date}}{{else}}hide-date{{/if}}">{{{date}}}</span>
|
<span class="recipient_row_date {{#if show_date}}{{else}}hide-date{{/if}}">{{{date}}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="message_header message_header_private_message dark_background">
|
<div class="message_header message_header_private_message dark_background">
|
||||||
<div class="message-header-wrapper">
|
<div class="message-header-wrapper">
|
||||||
<div class="message-header-contents">
|
<div class="message-header-contents">
|
||||||
<a class="message_label_clickable narrows_by_recipient stream_label"
|
<a class="message_label_clickable narrows_by_recipient stream_label"
|
||||||
href="{{pm_with_url}}"
|
href="{{pm_with_url}}"
|
||||||
title="{{#tr this}}Narrow to your private messages with __display_reply_to__{{/tr}}">
|
title="{{#tr this}}Narrow to your private messages with __display_reply_to__{{/tr}}">
|
||||||
{{#tr this}}You and __display_reply_to__{{/tr}}
|
{{#tr this}}You and __display_reply_to__{{/tr}}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<span class="recipient_row_date {{#if show_date}}{{else}}hide-date{{/if}}">{{{date}}}</span>
|
<span class="recipient_row_date {{#if show_date}}{{else}}hide-date{{/if}}">{{{date}}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -219,7 +219,6 @@ def check_handlebar_templates(templates):
|
||||||
'static/templates/admin_user_list.handlebars',
|
'static/templates/admin_user_list.handlebars',
|
||||||
'static/templates/bot_avatar_row.handlebars',
|
'static/templates/bot_avatar_row.handlebars',
|
||||||
'static/templates/message_edit_history.handlebars',
|
'static/templates/message_edit_history.handlebars',
|
||||||
'static/templates/recipient_row.handlebars',
|
|
||||||
'static/templates/single_message.handlebars',
|
'static/templates/single_message.handlebars',
|
||||||
'static/templates/stream_privacy.handlebars',
|
'static/templates/stream_privacy.handlebars',
|
||||||
'static/templates/stream_sidebar_row.handlebars',
|
'static/templates/stream_sidebar_row.handlebars',
|
||||||
|
|
Loading…
Reference in New Issue