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

45 lines
1.6 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">
<vn-quick-link
tooltip="Go to user"
state="['account.card.summary', {id: $ctrl.id}]"
icon="face">
</vn-quick-link>
</div>
<div ng-transclude="btnThree"></div>
</div>
</slot-body>
</vn-descriptor-content>