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}}
|
2018-01-13 19:12:38 +01:00
|
|
|
<form id="create_alert_word_form" class="form-horizontal">
|
|
|
|
<div class="add-new-alert-word-box grey-box">
|
|
|
|
<div class="new-alert-word-form">
|
|
|
|
<h4 class="new-alert-word-section-title settings-section-title no-padding">{{t "Add a new alert word"}}</h4>
|
2017-02-15 21:03:30 +01:00
|
|
|
<div class="new-alert-word-form">
|
|
|
|
<div class="input-group">
|
|
|
|
<label for="create_alert_word_name">{{t "New alert word" }}</label>
|
|
|
|
<input type="text" name="alert_word_name" id="create_alert_word_name" class="required"
|
2018-04-03 10:07:23 +02:00
|
|
|
maxlength=100 placeholder="{{t 'Alert word' }}" value="" />
|
2017-02-15 21:03:30 +01:00
|
|
|
</div>
|
2017-06-06 01:57:22 +02:00
|
|
|
<button class="button rounded sea-green add-alert-word" id="create_alert_word_button" type="button">
|
2017-02-15 21:03:30 +01:00
|
|
|
{{t 'Add alert word'}}
|
|
|
|
</button>
|
|
|
|
</div>
|
2018-01-13 19:12:38 +01:00
|
|
|
</div>
|
2016-06-24 01:53:49 +02:00
|
|
|
</div>
|
2018-01-13 19:12:38 +01:00
|
|
|
</form>
|
2016-04-08 20:42:45 +02:00
|
|
|
{{else}}
|
2018-01-13 19:12:38 +01:00
|
|
|
<div class="alert-word-information-box grey-box">
|
2017-02-15 21:03:30 +01:00
|
|
|
<div class="alert_word_listing">
|
|
|
|
<span class="value">{{word}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="edit-alert-word-buttons">
|
2017-06-06 01:57:22 +02:00
|
|
|
<button type="submit" class="button small btn-danger remove-alert-word" title="{{t 'Delete alert word' }}" data-word="{{word}}">
|
2017-02-15 21:03:30 +01:00
|
|
|
<i class="icon-vector-trash"></i>
|
|
|
|
</button>
|
2016-06-24 01:53:49 +02:00
|
|
|
</div>
|
2017-02-15 21:03:30 +01:00
|
|
|
</div>
|
2016-04-08 20:42:45 +02:00
|
|
|
{{/if}}
|
2013-10-08 13:13:49 +02:00
|
|
|
</li>
|