@@ -166,9 +166,9 @@ |
||
166 | 166 | title="[[Suppress incident]]" |
167 | 167 | class="btn blue-grey darken-2 waves-effect waves-light" |
168 | 168 | options="<?= [ |
169 | - 'id' => $snapshot->primaryKey(), |
|
170 | - 'incident' => $entity->primaryKey(), |
|
171 | - ] ?>"></vault:uri> |
|
169 | + 'id' => $snapshot->primaryKey(), |
|
170 | + 'incident' => $entity->primaryKey(), |
|
171 | + ] ?>"></vault:uri> |
|
172 | 172 | </vault:guard> |
173 | 173 | <?php } |
174 | 174 |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | <vault:guard permission="vault.snapshots.view"> |
36 | 36 | <vault:uri target="snapshots:view" icon="import_contacts" |
37 | 37 | class="btn teal waves-effect waves-light" |
38 | - options="<?= ['id' => $lastSnapshot->primaryKey()] ?>"> |
|
38 | + options="<?= [ 'id' => $lastSnapshot->primaryKey() ] ?>"> |
|
39 | 39 | [[View last]] |
40 | 40 | </vault:uri> |
41 | 41 | </vault:guard> |
@@ -95,13 +95,13 @@ discard block |
||
95 | 95 | <grid:cell style="text-align:right"> |
96 | 96 | <vault:guard permission="vault.snapshots.view"> |
97 | 97 | <vault:uri target="snapshots:view" icon="import_contacts" title="[[View snapshot]]" |
98 | - options="<?= ['id' => $entity->primaryKey()] ?>" |
|
98 | + options="<?= [ 'id' => $entity->primaryKey() ] ?>" |
|
99 | 99 | class="btn teal waves-effect"/> |
100 | 100 | </vault:guard> |
101 | 101 | <vault:guard permission="vault.snapshots.remove"> |
102 | 102 | <vault:uri target="snapshots:remove" icon="delete" title="[[Remove snapshot]]" |
103 | 103 | class="btn red waves-effect waves-light" |
104 | - options="<?= ['id' => $entity->primaryKey()] ?>"/> |
|
104 | + options="<?= [ 'id' => $entity->primaryKey() ] ?>"/> |
|
105 | 105 | </vault:guard> |
106 | 106 | </grid:cell> |
107 | 107 | </vault:grid> |
@@ -24,9 +24,9 @@ |
||
24 | 24 | <vault:uri target="snapshots:suppressIncident" |
25 | 25 | class="btn blue-grey darken-2 waves-effect waves-light" icon="archive" |
26 | 26 | options="<?= [ |
27 | - 'id' => $snapshot->primaryKey(), |
|
28 | - 'incident' => $incident->primaryKey() |
|
29 | - ] ?>"> |
|
27 | + 'id' => $snapshot->primaryKey(), |
|
28 | + 'incident' => $incident->primaryKey() |
|
29 | + ] ?>"> |
|
30 | 30 | [[Suppress]] |
31 | 31 | </vault:uri> |
32 | 32 | <?php } ?> |
@@ -42,13 +42,13 @@ |
||
42 | 42 | <grid:cell style="text-align:right"> |
43 | 43 | <vault:guard permission="vault.snapshots.view"> |
44 | 44 | <vault:uri target="snapshots:view" icon="import_contacts" title="[[View snapshot]]" |
45 | - options="<?= ['filename' => $entity->id()] ?>" |
|
45 | + options="<?= [ 'filename' => $entity->id() ] ?>" |
|
46 | 46 | class="btn-flat waves-effect"/> |
47 | 47 | </vault:guard> |
48 | 48 | <vault:guard permission="vault.snapshots.remove"> |
49 | 49 | <vault:uri target="snapshots:remove" icon="delete" title="[[Remove snapshot]]" |
50 | 50 | class="btn red waves-effect waves-light" |
51 | - options="<?= ['filename' => $entity->id()] ?>"/> |
|
51 | + options="<?= [ 'filename' => $entity->id() ] ?>"/> |
|
52 | 52 | </vault:guard> |
53 | 53 | </grid:cell> |
54 | 54 | </vault:grid> |