Improve button display on scheduled operations.
This commit is contained in:
parent
f4f62e6e0c
commit
82f91805f0
@ -134,14 +134,14 @@
|
||||
<!-- Toggle canceled entry, for non-editing entries. -->
|
||||
<button type="button" class="btn btn-default"
|
||||
ng-click="toggleCanceledEntry(entry)"
|
||||
ng-if="!rowform.$visible"
|
||||
ng-if="entry.scheduled_operation_id && !rowform.$visible"
|
||||
ng-class="{active: entry.canceled}" title="cancel">
|
||||
<span class="fa fa-remove"></span>
|
||||
</button>
|
||||
|
||||
<!-- Delete entry, with confirm. -->
|
||||
<button type="button" class="btn btn-default"
|
||||
ng-if="entry.id"
|
||||
ng-if="entry.id && !entry.scheduled_operation_id"
|
||||
ng-click="deleteEntry(entry, $index)">
|
||||
<span class="fa fa-trash-o"></span>
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user