Improve button display on scheduled operations.

This commit is contained in:
Alexis Lahouze 2015-08-20 12:34:14 +02:00
parent f4f62e6e0c
commit 82f91805f0

View File

@ -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>