dashboard: support links/markdown in checklist items

This commit is contained in:
Johannes Zellner
2024-07-25 17:40:09 +02:00
parent fb11997430
commit cbc46a8229
2 changed files with 7 additions and 3 deletions
+3 -3
View File
@@ -36,7 +36,7 @@
<div class="modal-body">
<div ng-repeat="item in appPostInstallConfirm.app.checklist">
<div class="checklist-item" ng-hide="item.acknowledged">
{{ item.message }}
<span ng-bind-html="item.message | markdown2html"></span>
</div>
</div>
@@ -750,14 +750,14 @@
<div ng-repeat="(key, item) in app.checklist">
<div class="checklist-item" ng-hide="item.acknowledged">
{{ item.message }}
<span ng-bind-html="item.message | markdown2html"></span>
<button class="btn btn-xs btn-default" style="margin-left: 10px;" ng-click="info.checklistAck(item, key)">Done</button>
</div>
</div>
<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 }}<br/>
<span ng-bind-html="item.message | markdown2html"></span>
<span class="text-muted text-small">{{ item.changedBy }} {{ item.changedAt | prettyDate }}</span>
</div>
</div>