salix/modules/worker/front/descriptor/index.html

39 lines
1.3 KiB
HTML

<vn-descriptor-content
module="worker"
description="$ctrl.worker.firstName +' '+ $ctrl.worker.lastName">
<slot-body>
<div class="attributes">
<vn-label-value
label="User"
value="{{$ctrl.worker.user.name}}">
</vn-label-value>
<vn-label-value
label="Email"
value="{{$ctrl.worker.user.emailUser.email}}">
</vn-label-value>
<vn-label-value
label="Department"
value="{{$ctrl.worker.department.department.name}}">
</vn-label-value>
<vn-label-value
label="Phone"
value="{{$ctrl.worker.phone}}">
</vn-label-value>
<vn-label-value
label="Extension"
value="{{$ctrl.worker.sip.extension}}">
</vn-label-value>
</div>
<div class="quicklinks">
<div ng-transclude="btnOne">
<vn-quick-link
tooltip="Go to client"
state="['client.card.summary', {id: $ctrl.id}]"
icon="person">
</vn-quick-link>
</div>
<div ng-transclude="btnTwo"></div>
<div ng-transclude="btnThree"></div>
</div>
</slot-body>
</vn-descriptor-content>