source/views/aggregation/incident.dark.php 1 location
|
@@ 23-30 (lines=8) @@
|
20 |
|
|
21 |
|
<define:actions> |
22 |
|
<vault:guard permission="vault.snapshots.edit"> |
23 |
|
<?php if ($incident->status->isStored()) { ?> |
24 |
|
<vault:uri target="snapshots:suppressIncident" |
25 |
|
class="btn blue-grey darken-2 waves-effect waves-light" icon="archive" |
26 |
|
options="<?= [ |
27 |
|
'id' => $snapshot->primaryKey(), |
28 |
|
'incident' => $incident->primaryKey() |
29 |
|
] ?>"> |
30 |
|
[[Suppress]] |
31 |
|
</vault:uri> |
32 |
|
<?php } ?> |
33 |
|
|
source/views/aggregation/snapshot.dark.php 1 location
|
@@ 175-185 (lines=11) @@
|
172 |
|
</vault:guard> |
173 |
|
<?php } |
174 |
|
|
175 |
|
if (!$entity->status->isDeleted()) { ?> |
176 |
|
<vault:guard permission="vault.snapshots.edit"> |
177 |
|
<vault:uri target="snapshots:removeIncident" icon="delete" |
178 |
|
title="[[Remove incident]]" |
179 |
|
class="btn red waves-effect waves-light" options="<?= [ |
180 |
|
'id' => $snapshot->primaryKey(), |
181 |
|
'incident' => $entity->primaryKey(), |
182 |
|
] ?>"/> |
183 |
|
</vault:guard> |
184 |
|
<?php } ?> |
185 |
|
</grid:cell> |
186 |
|
</vault:grid> |
187 |
|
<?php } ?> |
188 |
|
</tab:item> |