Adjust checklist item api to support audits trail
This commit is contained in:
@@ -742,14 +742,14 @@
|
||||
<a href="" class="pull-right" ng-click="info.showDoneChecklist = false" ng-show="info.showDoneChecklist">Hide Checklist</a>
|
||||
</p>
|
||||
|
||||
<div ng-repeat="item in app.checklist">
|
||||
<div ng-repeat="(key, item) in app.checklist">
|
||||
<div class="checklist-item" ng-hide="item.acknowledged">
|
||||
{{ item.message }}
|
||||
<button class="btn btn-xs btn-default btn-outline" ng-click="info.checklistAck(item)"><i class="fas fa-check"></i></button>
|
||||
<button class="btn btn-xs btn-default" ng-click="info.checklistAck(item, key)">Done</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div ng-repeat="item in app.checklist" ng-show="info.showDoneChecklist">
|
||||
<div ng-repeat="(key, item) in app.checklist" ng-show="info.showDoneChecklist">
|
||||
<div class="checklist-item checklist-item-acknowledged" ng-show="item.acknowledged">
|
||||
{{ item.message }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user