feat(worker_create): add vn-acl
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
aa5cfde1ae
commit
46c3d87dab
|
@ -6,23 +6,23 @@
|
|||
class="vn-w-sm">
|
||||
<vn-card>
|
||||
<div class="vn-list separated">
|
||||
<a
|
||||
<a
|
||||
ng-repeat="worker in model.data track by worker.id"
|
||||
ui-sref="worker.card.summary({id: worker.id})"
|
||||
translate-attr="{title: 'View worker'}"
|
||||
class="vn-item search-result">
|
||||
<vn-item-section>
|
||||
<h6>{{::worker.nickname}}</h6>
|
||||
<vn-label-value label="Id"
|
||||
<vn-label-value label="Id"
|
||||
value="{{::worker.id}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="User"
|
||||
<vn-label-value label="User"
|
||||
value="{{::worker.userName}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Email"
|
||||
<vn-label-value label="Email"
|
||||
value="{{::worker.email}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Department"
|
||||
<vn-label-value label="Department"
|
||||
value="{{::worker.department}}">
|
||||
</vn-label-value>
|
||||
</vn-item-section>
|
||||
|
@ -42,9 +42,11 @@
|
|||
</div>
|
||||
</vn-card>
|
||||
</vn-data-viewer>
|
||||
<a ui-sref="worker.create"
|
||||
vn-tooltip="New worker"
|
||||
vn-bind="+"
|
||||
<a ui-sref="worker.create"
|
||||
vn-tooltip="New worker"
|
||||
vn-bind="+"
|
||||
vn-acl="hr"
|
||||
vn-acl-action="remove"
|
||||
fixed-bottom-right>
|
||||
<vn-float-button icon="person_add"></vn-float-button>
|
||||
</a>
|
||||
|
@ -52,4 +54,4 @@
|
|||
<vn-worker-summary
|
||||
worker="$ctrl.selectedWorker">
|
||||
</vn-worker-summary>
|
||||
</vn-popup>
|
||||
</vn-popup>
|
||||
|
|
Loading…
Reference in New Issue