mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
Separate alert word settings from settings_tab template.
This separates alert word settings into its own template in the templates/settings folder.
This commit is contained in:
committed by
Tim Abbott
parent
68b8a7b40d
commit
330edddeff
15
static/templates/settings/alert-word-settings.handlebars
Normal file
15
static/templates/settings/alert-word-settings.handlebars
Normal file
@@ -0,0 +1,15 @@
|
||||
<div id="alert-word-settings" class="settings-section">
|
||||
<div class="settings-section-title">
|
||||
<i class="icon-vector-book settings-section-icon"></i>
|
||||
{{t "Custom Alert Words" }}
|
||||
</div>
|
||||
<form class="form-horizontal" id="alert_word_info_box">
|
||||
{{#tr this}}
|
||||
<p class="alert-word-settings-note">
|
||||
{{t "Alert words allow you to be notified as if you were @-mentioned
|
||||
when certain words or phrases are used in Zulip."}}
|
||||
</p>
|
||||
{{/tr}}
|
||||
</form>
|
||||
<ul id="alert_words_list"></ul>
|
||||
</div>
|
||||
@@ -76,21 +76,7 @@
|
||||
|
||||
{{ partial "bot-settings" }}
|
||||
|
||||
<div id="alert-word-settings" class="settings-section">
|
||||
<div class="settings-section-title">
|
||||
<i class="icon-vector-book settings-section-icon"></i>
|
||||
{{t "Custom Alert Words" }}
|
||||
</div>
|
||||
<form class="form-horizontal" id="alert_word_info_box">
|
||||
{{#tr this}}
|
||||
<p class="alert-word-settings-note">
|
||||
{{t "Alert words allow you to be notified as if you were @-mentioned
|
||||
when certain words or phrases are used in Zulip."}}
|
||||
</p>
|
||||
{{/tr}}
|
||||
</form>
|
||||
<ul id="alert_words_list"></ul>
|
||||
</div>
|
||||
{{ partial "alert-word-settings" }}
|
||||
|
||||
<div class="ui-settings">
|
||||
<div id="ui-settings" class="settings-section">
|
||||
|
||||
Reference in New Issue
Block a user