mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 01:11:37 -06:00
Fix test, expand index.
This commit is contained in:
parent
33899f0e2f
commit
245f06c93a
@ -215,7 +215,7 @@ class TestDataSeeder extends Seeder
|
||||
$rule = new Rule;
|
||||
$rule->user()->associate($this->user);
|
||||
$rule->ruleGroup()->associate(RuleGroup::find(1));
|
||||
$rule->order = 2;
|
||||
$rule->order = 3;
|
||||
$rule->active = 1;
|
||||
$rule->stop_processing = 0;
|
||||
$rule->title = 'Move savings';
|
||||
|
@ -63,14 +63,25 @@
|
||||
<tr>
|
||||
<td>
|
||||
<div class="btn-group btn-group-xs">
|
||||
{% if rule.order > 1 %}
|
||||
<a title="{{ 'rule_priority_up'|_ }}" href="{{ route('rules.rule.up', rule.id) }}" class="btn btn-default"><span
|
||||
class="fa fa-arrow-up"></span></a>
|
||||
class="fa fa-fw fa-arrow-up"></span></a>
|
||||
{% else %}
|
||||
<a href="#" class="btn btn-default"><span
|
||||
class="fa fa-fw"></span></a>
|
||||
{% endif %}
|
||||
{% if rule.order < ruleGroup.rules.count %}
|
||||
<a title="{{ 'rule_priority_down'|_ }}" href="{{ route('rules.rule.down', rule.id) }}"
|
||||
class="btn btn-default"><span class="fa fa-arrow-down"></span></a>
|
||||
class="btn btn-default"><span class="fa fa-fw fa-arrow-down"></span>
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="#" class="btn btn-default"><span
|
||||
class="fa fa-fw"></span></a>
|
||||
{% endif %}
|
||||
<a title="{{ 'edit'|_ }}" href="{{ route('rules.rule.edit', rule.id) }}" class="btn btn-default"><span
|
||||
class="fa fa-pencil"></span></a>
|
||||
class="fa fa-fw fa-pencil"></span></a>
|
||||
<a title="{{ 'delete'|_ }}" href="{{ route('rules.rule.delete', rule.id) }}" class="btn btn-danger"><span
|
||||
class="fa fa-trash"></span></a>
|
||||
class="fa fa-fw fa-trash"></span></a>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
|
Loading…
Reference in New Issue
Block a user