4658-createWorker #1236

Merged
alexm merged 35 commits from 4658-createWorker into dev 2023-01-23 07:30:52 +00:00
1 changed files with 11 additions and 9 deletions
Showing only changes of commit 46c3d87dab - Show all commits

View File

@ -6,23 +6,23 @@
class="vn-w-sm"> class="vn-w-sm">
<vn-card> <vn-card>
<div class="vn-list separated"> <div class="vn-list separated">
<a <a
ng-repeat="worker in model.data track by worker.id" ng-repeat="worker in model.data track by worker.id"
ui-sref="worker.card.summary({id: worker.id})" ui-sref="worker.card.summary({id: worker.id})"
translate-attr="{title: 'View worker'}" translate-attr="{title: 'View worker'}"
class="vn-item search-result"> class="vn-item search-result">
<vn-item-section> <vn-item-section>
<h6>{{::worker.nickname}}</h6> <h6>{{::worker.nickname}}</h6>
<vn-label-value label="Id" <vn-label-value label="Id"
value="{{::worker.id}}"> value="{{::worker.id}}">
</vn-label-value> </vn-label-value>
<vn-label-value label="User" <vn-label-value label="User"
value="{{::worker.userName}}"> value="{{::worker.userName}}">
</vn-label-value> </vn-label-value>
<vn-label-value label="Email" <vn-label-value label="Email"
value="{{::worker.email}}"> value="{{::worker.email}}">
</vn-label-value> </vn-label-value>
<vn-label-value label="Department" <vn-label-value label="Department"
value="{{::worker.department}}"> value="{{::worker.department}}">
</vn-label-value> </vn-label-value>
</vn-item-section> </vn-item-section>
@ -42,9 +42,11 @@
</div> </div>
</vn-card> </vn-card>
</vn-data-viewer> </vn-data-viewer>
<a ui-sref="worker.create" <a ui-sref="worker.create"
vn-tooltip="New worker" vn-tooltip="New worker"
vn-bind="+" vn-bind="+"
vn-acl="hr"
vn-acl-action="remove"
fixed-bottom-right> fixed-bottom-right>
<vn-float-button icon="person_add"></vn-float-button> <vn-float-button icon="person_add"></vn-float-button>
</a> </a>
@ -52,4 +54,4 @@
<vn-worker-summary <vn-worker-summary
worker="$ctrl.selectedWorker"> worker="$ctrl.selectedWorker">
</vn-worker-summary> </vn-worker-summary>
</vn-popup> </vn-popup>