mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix #3440
This commit is contained in:
@@ -56,22 +56,23 @@
|
||||
</p>
|
||||
|
||||
{% if ruleGroup.rules.count > 0 %}
|
||||
<table class="table table-hover table-striped">
|
||||
<table class="table table-hover table-striped group-rules">
|
||||
<thead>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
<th>{{ 'rule_name'|_ }}</th>
|
||||
<th class="hidden-xs">{{ 'rule_triggers'|_ }}</th>
|
||||
<th class="hidden-xs">{{ 'rule_actions'|_ }}</th>
|
||||
<th style="width:5%;"> </th>
|
||||
<th style="width:10%;"> </th>
|
||||
<th style="width:10%;"> </th>
|
||||
<th style="width:25%;">{{ 'rule_name'|_ }}</th>
|
||||
<th style="width:25%;" class="hidden-xs">{{ 'rule_triggers'|_ }}</th>
|
||||
<th style="width:25%;" class="hidden-xs">{{ 'rule_actions'|_ }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tbody class="rule-connected-list">
|
||||
{% for rule in ruleGroup.rules %}
|
||||
<tr>
|
||||
<tr class="single-rule" data-order="{{ rule.order }}" data-id="{{ rule.id }}" data-group-id="{{ ruleGroup.id }}" data-position="{{ loop.index0 }}">
|
||||
<td>
|
||||
<div class="btn-group btn-group-xs prio_buttons">
|
||||
{#
|
||||
{% if rule.order > 1 %}
|
||||
<a title="{{ 'rule_priority_up'|_ }}"
|
||||
href="{{ route('rules.up', rule.id) }}"
|
||||
@@ -91,6 +92,8 @@
|
||||
<button disabled="disabled" class="btn btn-default"><span
|
||||
class="fa fa-fw"></span></button>
|
||||
{% endif %}
|
||||
#}
|
||||
<i class="fa fa-fw fa-bars rule-handle"></i>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
@@ -144,7 +147,7 @@
|
||||
</td>
|
||||
<td class="hidden-xs">
|
||||
{% if rule.ruleTriggers.count > 0 %}
|
||||
<ul class="small rule-triggers" data-id="{{ rule.id }}">
|
||||
<ul class="small" data-id="{{ rule.id }}">
|
||||
{% for trigger in rule.ruleTriggers %}
|
||||
{% if trigger.trigger_type != "user_action" %}
|
||||
<li
|
||||
@@ -164,7 +167,7 @@
|
||||
</td>
|
||||
<td class="hidden-xs">
|
||||
{% if rule.ruleActions.count > 0 %}
|
||||
<ul class="small rule-actions" data-id="{{ rule.id }}">
|
||||
<ul class="small" data-id="{{ rule.id }}">
|
||||
{% for action in rule.ruleActions %}
|
||||
<li
|
||||
{% if not rule.active %}
|
||||
|
Reference in New Issue
Block a user