Only add checklist items if they apply due to sso state

This commit is contained in:
Johannes Zellner
2024-04-17 18:29:47 +02:00
parent 3c7e6b59f0
commit 7d6636bb54
5 changed files with 53 additions and 2 deletions

View File

@@ -676,6 +676,21 @@ multiselect {
}
}
.checklist-item {
padding: 8px;
border: none;
border-left: 2px solid rgb(255, 76, 76);
background-color: #ff000014;
display: flex;
justify-content: space-between;
align-items: center;
}
.checklist-item-acknowledged {
border-left: 2px solid transparent;
background-color: transparent;
}
// ----------------------------
// Mail view
// ----------------------------

View File

@@ -770,6 +770,13 @@
<br/>
<div class="checklist-item" ng-repeat="item in info.checklist">
{{ item.message }}
<button class="btn btn-sm btn-default btn-outline" ng-click="alert('you wish')"><i class="fas fa-check"></i></button>
</div>
<br/>
<p><label class="control-label">{{ 'app.info.notes.title' | tr }}</label></p>
<div class="row">
<div class="col-md-12">

View File

@@ -174,6 +174,9 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
$scope.info.notes.busy = false;
$scope.info.notes.content = $scope.app.notes;
$scope.info.notes.editing = false;
console.log('--', $scope.app)
$scope.info.checklist = $scope.app.checklist;
}
};