2013-09-04 21:54:24 +02:00
|
|
|
{{! Alert word in the settings page that can be removed }}
|
|
|
|
<li class="alert-word-item" data-word='{{word}}'>
|
2016-04-08 20:42:45 +02:00
|
|
|
{{#if editing}}
|
2016-06-24 01:53:49 +02:00
|
|
|
<div class="alert-word-settings-form">
|
2016-10-13 20:50:49 +02:00
|
|
|
<div class="add-new-alert-word-box grey-bg">
|
2016-09-14 02:20:13 +02:00
|
|
|
<form id="create_alert_word_form" class="form-horizontal no-padding">
|
|
|
|
<h4 class="new-alert-word-section-title light no-margin">{{t "Add a New Alert Word"}}</h4>
|
2016-06-24 01:53:49 +02:00
|
|
|
<div class="new-alert-word-form">
|
2016-09-14 02:20:13 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<label for="create_alert_word_name">{{t "New Alert Word" }}</label>
|
2016-06-24 01:53:49 +02:00
|
|
|
<input type="text" name="alert_word_name" id="create_alert_word_name" class="required"
|
|
|
|
maxlength=100 placeholder="{{t 'Alert Word' }}" value="" />
|
|
|
|
</div>
|
2016-07-14 01:32:25 +02:00
|
|
|
<div class="alert alert-danger" id="empty_alert_word_error" role="alert">
|
|
|
|
<button type="button" class="close close-empty-alert-word-error" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
<span>{{t "Alert words can't be empty!"}}</span>
|
|
|
|
</div>
|
2016-10-13 20:50:49 +02:00
|
|
|
<button class="button sea-green add-alert-word" id="create_alert_word_button" type="button">
|
2016-06-24 01:53:49 +02:00
|
|
|
{{t 'Add Alert Word'}}
|
|
|
|
</button>
|
|
|
|
</div>
|
2016-09-14 02:20:13 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
2016-06-24 01:53:49 +02:00
|
|
|
</div>
|
2016-04-08 20:42:45 +02:00
|
|
|
{{else}}
|
2016-09-14 02:20:13 +02:00
|
|
|
<div class="alert-word-information-box list-container">
|
2016-06-24 01:53:49 +02:00
|
|
|
<div class="alert_word_listing">
|
|
|
|
<span class="value">{{word}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="edit-alert-word-buttons">
|
2016-09-14 02:20:13 +02:00
|
|
|
<button type="submit" class="button small btn-small btn-danger remove-alert-word" title="{{t 'Delete Alert Word' }}" data-word="{{word}}">
|
2016-06-24 01:53:49 +02:00
|
|
|
<i class="icon-vector-trash"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-04-08 20:42:45 +02:00
|
|
|
{{/if}}
|
2013-10-08 13:13:49 +02:00
|
|
|
</li>
|