@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | <div class="col s12 m2 right-align"> |
33 | 33 | <vault:guard permission="vault.snapshots.view"> |
34 | 34 | <vault:uri target="snapshots:view" icon="import_contacts" class="btn waves-effect waves-light" |
35 | - options="<?= ['id' => $lastSnapshot->primaryKey()] ?>"> |
|
35 | + options="<?= [ 'id' => $lastSnapshot->primaryKey() ] ?>"> |
|
36 | 36 | [[View last]] |
37 | 37 | </vault:uri> |
38 | 38 | </vault:guard> |
@@ -91,12 +91,12 @@ discard block |
||
91 | 91 | |
92 | 92 | <grid:cell style="text-align:right"> |
93 | 93 | <vault:guard permission="vault.snapshots.view"> |
94 | - <vault:uri target="snapshots:view" icon="import_contacts" title="[[View snapshot]]" options="<?= ['id' => $entity->primaryKey()] ?>" |
|
94 | + <vault:uri target="snapshots:view" icon="import_contacts" title="[[View snapshot]]" options="<?= [ 'id' => $entity->primaryKey() ] ?>" |
|
95 | 95 | class="btn waves-effect"/> |
96 | 96 | </vault:guard> |
97 | 97 | <vault:guard permission="vault.snapshots.remove"> |
98 | 98 | <vault:uri target="snapshots:remove" icon="delete" title="[[Remove snapshot]]" class="btn red waves-effect waves-light" |
99 | - options="<?= ['id' => $entity->primaryKey()] ?>"/> |
|
99 | + options="<?= [ 'id' => $entity->primaryKey() ] ?>"/> |
|
100 | 100 | </vault:guard> |
101 | 101 | </grid:cell> |
102 | 102 | </vault:grid> |
@@ -32,7 +32,7 @@ |
||
32 | 32 | <?php } ?> |
33 | 33 | |
34 | 34 | <vault:uri target="snapshots:view" class="btn-flat waves-effect" |
35 | - post-icon="trending_flat" options="<?= ['id' => $snapshot->primaryKey()] ?>"> |
|
35 | + post-icon="trending_flat" options="<?= [ 'id' => $snapshot->primaryKey() ] ?>"> |
|
36 | 36 | [[BACK]] |
37 | 37 | </vault:uri> |
38 | 38 | </vault:guard> |
@@ -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 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> |