Add reverse button

This commit is contained in:
James Cole
2022-10-01 07:19:33 +02:00
parent 749ce2ca9b
commit 5714bd0749
4 changed files with 12 additions and 1 deletions

View File

@@ -701,6 +701,7 @@ return [
'yearly' => 'yearly',
// rules
'is_not_rule_trigger' => 'Not',
'cannot_fire_inactive_rules' => 'You cannot execute inactive rules.',
'rules' => 'Rules',
'rule_name' => 'Name of rule',

View File

@@ -13,6 +13,15 @@
{% endfor %}
</select>
</td>
<td style="width:40px;">
<div class="checkbox">
<label>
<input type="checkbox" name="triggers[{{ count }}][prohibited]" value="1"
{% if oldProhibited %}checked{% endif %}
/>
</label>
</div>
</td>
<td>
<input autocomplete="off" type="text" value="{{ oldValue }}" name="triggers[{{ count }}][value]"
class="form-control">

View File

@@ -51,6 +51,7 @@
<thead>
<tr>
<th colspan="2">{{ 'trigger'|_ }}</th>
<th>{{ 'is_not_rule_trigger'|_ }}</th>
<th>{{ 'trigger_value'|_ }}</th>
<th>{{ 'stop_processing_other_triggers'|_ }}</th>
</tr>