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

47 lines
1.8 KiB
HTML

<div class="vn-descriptor">
<vn-horizontal class="header">
<a translate-attr="{title: 'Return to module index'}" ui-sref="worker.index">
<vn-icon icon="chevron_left"></vn-icon>
</a>
<a translate-attr="{title: 'Preview'}" ui-sref="worker.card.summary({id: $ctrl.worker.id})">
<vn-icon icon="desktop_windows"></vn-icon>
</a>
<span></span>
</vn-horizontal>
<div class="body">
<div class="attributes">
<h5 title="{{$ctrl.worker.firstName}} {{$ctrl.worker.lastName}}">
{{$ctrl.worker.firstName}} {{$ctrl.worker.lastName}}
</h5>
<vn-label-value label="Id"
value="{{$ctrl.worker.id}}">
</vn-label-value>
<vn-label-value label="User"
value="{{$ctrl.worker.user.name}}"
title="{{$ctrl.worker.firstName}} {{$ctrl.worker.lastName}}">
</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">
<a
ui-sref="client.card.summary({id: $ctrl.worker.userFk})"
vn-tooltip="Go to client">
<vn-icon
class="mdl-button mdl-js-button mdl-button--colored"
icon="person">
</vn-icon>
</a>
</div>
</div>
</div>