mirror of https://github.com/zulip/zulip.git
templates: Remove references to undefined fields.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
a1f530fcc0
commit
36475daba7
|
@ -52,7 +52,6 @@
|
|||
<div id="compose_banners"></div>
|
||||
<div class="composition-area">
|
||||
<form id="send_message_form" action="/json/messages" method="post">
|
||||
{{ csrf_input }}
|
||||
<div class="compose_table">
|
||||
<div id="compose_top">
|
||||
<div id="compose_top_right" class="order-2">
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
</p>
|
||||
<div class="new-style">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" class="send_email" data-key="{{ key }}" />
|
||||
<input type="checkbox" class="send_email" />
|
||||
<span></span>
|
||||
{{t "Notify this user by email?" }}
|
||||
</label>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="empty_feed_notice">
|
||||
<h4> {{ title }} </h4>
|
||||
{{#if (or search_data.query_words search.topic_query search_data.stream_query)}}
|
||||
{{#if search_data}}
|
||||
<div>
|
||||
{{#if search_data.has_stop_word}}{{t "Some common words were excluded from your search." }} <br/>{{/if}}{{t "You searched for:" }}
|
||||
{{#if search_data.stream_query}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div data-process="{{data_process}}" class="alert alert-info {{custom_class}}">
|
||||
<div data-process="{{data_process}}" class="alert alert-info {{#if custom_class}}{{custom_class}}{{/if}}">
|
||||
{{{rendered_alert_content_html}}}
|
||||
<span class="close" data-dismiss="alert" aria-label="{{t 'Close' }}" role="button" tabindex=0>×</span>
|
||||
</div>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
</span>
|
||||
<span class="recipient_bar_controls no-select">
|
||||
<span class="topic_edit hidden-for-spectators">
|
||||
<span class="topic_edit_form" id="{{id}}"></span>
|
||||
<span class="topic_edit_form"></span>
|
||||
</span>
|
||||
|
||||
{{! exterior links (e.g. to a trac ticket) }}
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
</button>
|
||||
<div id="api_key_buttons">
|
||||
<button class="modal__btn dialog_submit_button" id="regenerate_api_key" aria-label="{{t 'Generate new API key' }}">{{t "Generate new API key" }}</button>
|
||||
<a class="modal__btn dialog_submit_button" id="download_zuliprc" download="{{zuliprc}}" tabindex="0">{{t "Download .zuliprc" }}</a>
|
||||
<a class="modal__btn dialog_submit_button" id="download_zuliprc" download="zuliprc" tabindex="0">{{t "Download .zuliprc" }}</a>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{/if}}
|
||||
</label>
|
||||
<button type="button" class="language_selection_button button rounded small" data-section="{{section_name}}">
|
||||
<span class="{{section_name}}" data-language-code="{{language_code}}">{{setting_value}}</span>
|
||||
<span class="{{section_name}}">{{setting_value}}</span>
|
||||
<i class="fa fa-pencil"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
</tbody>
|
||||
{{#unless for_realm_settings}}
|
||||
<tbody id="stream-specific-notify-table">
|
||||
{{> ../settings/stream_specific_notification_row }}
|
||||
</tbody>
|
||||
{{/unless}}
|
||||
</table>
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
<div class="input-group {{#if is_disabled}}control-label-disabled{{/if}}">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" class="{{setting_name}} inline-block setting-widget prop-element" name="{{setting_name}}" data-setting-widget-type="boolean"
|
||||
id="{{prefix}}{{setting_name}}" {{#if is_checked}}checked="checked"{{/if}} {{#if is_disabled}}disabled{{/if}} />
|
||||
id="{{#if prefix}}{{prefix}}{{/if}}{{setting_name}}" {{#if is_checked}}checked="checked"{{/if}} {{#if is_disabled}}disabled{{/if}} />
|
||||
<span></span>
|
||||
</label>
|
||||
<label for="{{prefix}}{{setting_name}}" class="inline {{setting_name}}_label" id="{{prefix}}{{setting_name}}_label">
|
||||
<label for="{{#if prefix}}{{prefix}}{{/if}}{{setting_name}}" class="inline {{setting_name}}_label" id="{{#if prefix}}{{prefix}}{{/if}}{{setting_name}}_label">
|
||||
{{label}}
|
||||
{{#if label_parens_text}}
|
||||
(<i>{{label_parens_text}}</i>)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div zid="{{msg/id}}" id="{{table_name}}{{msg/id}}"
|
||||
class="message_row{{^msg/is_stream}} private-message{{/msg/is_stream}}{{#include_sender}} include-sender{{/include_sender}}{{#if mention_classname}} {{mention_classname}}{{/if}}{{#msg.unread}} unread{{/msg.unread}} {{#if msg.locally_echoed}}local{{/if}} selectable_row"
|
||||
class="message_row{{#unless msg/is_stream}} private-message{{/unless}}{{#include_sender}} include-sender{{/include_sender}}{{#if mention_classname}} {{mention_classname}}{{/if}}{{#msg.unread}} unread{{/msg.unread}} {{#if msg.locally_echoed}}local{{/if}} selectable_row"
|
||||
role="listitem">
|
||||
<div class="unread_marker"><div class="unread-marker-fill"></div></div>
|
||||
{{#if want_date_divider}}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{#if .}}
|
||||
{{#if emoji_alt_code}}
|
||||
<span class="emoji_alt_code"> :{{emoji_name}}:</span>
|
||||
{{else if still_url}}
|
||||
|
@ -8,3 +9,4 @@
|
|||
{{else if emoji_code}}
|
||||
<span class="emoji status_emoji emoji-{{emoji_code}}"></span>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
@ -74,8 +74,7 @@
|
|||
<input type="text" autocomplete="off"
|
||||
name="stream-message-retention-days"
|
||||
class="stream-message-retention-days message-retention-setting-custom-input time-limit-custom-input"
|
||||
id="stream_message_retention_custom_input"
|
||||
value="{{ stream_message_retention_days }}"/>
|
||||
id="stream_message_retention_custom_input" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue