45 lines
1.4 KiB
HTML
45 lines
1.4 KiB
HTML
|
<vn-descriptor-content
|
||
|
module="shelving"
|
||
|
description="$ctrl.shelving.id"
|
||
|
summary="$ctrl.$.summary">
|
||
|
<slot-menu>
|
||
|
<vn-item
|
||
|
ng-click="deleteShelving.show()"
|
||
|
name="deleteShelving"
|
||
|
translate>
|
||
|
Delete
|
||
|
</vn-item>
|
||
|
</slot-menu>
|
||
|
<slot-body>
|
||
|
<div class="attributes">
|
||
|
<vn-label-value
|
||
|
label="Code"
|
||
|
value="{{$ctrl.shelving.id}}">
|
||
|
</vn-label-value>
|
||
|
<vn-label-value
|
||
|
label="Parking"
|
||
|
value="{{$ctrl.shelving.parking.code}}">
|
||
|
</vn-label-value>
|
||
|
<vn-label-value
|
||
|
label="Worker">
|
||
|
<span
|
||
|
ng-click="workerDescriptor.show($event, $ctrl.shelving.userFk)"
|
||
|
class="link">
|
||
|
{{::$ctrl.shelving.worker.user.nickname}}
|
||
|
</span>
|
||
|
</vn-label-value>
|
||
|
</div>
|
||
|
</slot-body>
|
||
|
</vn-descriptor-content>
|
||
|
<vn-confirm
|
||
|
vn-id="delete-shelving"
|
||
|
on-accept="$ctrl.onDelete()"
|
||
|
question="Are you sure you want to continue?"
|
||
|
message="Shelving will be removed">
|
||
|
</vn-confirm>
|
||
|
<vn-popup vn-id="summary">
|
||
|
<vn-shelving-summary shelving="$ctrl.shelving"></vn-shelving-summary>
|
||
|
</vn-popup>
|
||
|
<vn-worker-descriptor-popover
|
||
|
vn-id="workerDescriptor">
|
||
|
</vn-worker-descriptor-popover>
|