diff --git a/database/seeds/TestDataSeeder.php b/database/seeds/TestDataSeeder.php index 925f17048a..d12955607a 100644 --- a/database/seeds/TestDataSeeder.php +++ b/database/seeds/TestDataSeeder.php @@ -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'; diff --git a/resources/views/rules/index.twig b/resources/views/rules/index.twig index 829b626fdd..bdce941bae 100644 --- a/resources/views/rules/index.twig +++ b/resources/views/rules/index.twig @@ -63,14 +63,25 @@
+ {% if rule.order > 1 %} + class="fa fa-fw fa-arrow-up"> + {% else %} + + {% endif %} + {% if rule.order < ruleGroup.rules.count %} + class="btn btn-default"> + + {% else %} + + {% endif %} + class="fa fa-fw fa-pencil"> + class="fa fa-fw fa-trash">