-
Notifications
You must be signed in to change notification settings - Fork 616
/
Copy pathmodalConfirmDeleteItems.html
38 lines (26 loc) · 1016 Bytes
/
modalConfirmDeleteItems.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="modal-header">
<h3 class="modal-title">
Confirm deletion of <ng-pluralize count="items.length" when="{'one': 'one item', 'other': '{} items'}"></ng-pluralize>
</h3>
</div>
<div class="modal-body">
<p class="text-justify">{{ information }}</p>
<ul>
<li ng-repeat="item in showTags">
{{ item }}
</li>
</ul>
<p><emph>This operation cannot be undone!</emph><p>
</div>
<div class="modal-footer">
<label>
<checkbox ng-model="unlockDeleteButton"></checkbox>
<!--<input type="checkbox" ng-model="unlockDeleteButton">-->Check to unlock delete button.
</label>
<button type="button" ng-disabled="!items.length || !unlockDeleteButton" ng-click="ok()" class="btn btn-danger">
<span class="glyphicon glyphicon-trash"></span>
<ng-pluralize count="items.length" when="{'0': 'No items to delete', 'one': 'Delete one item', 'other': 'Delete {} items'}">
</ng-pluralize>
</button>
<button class="btn" ng-click="cancel()">Cancel</button>
</div>