|
|
<div class="grid-row" data-id="{{id}}" data-priv_level="{{priv_level}}" data-name="{{first_name}} {{last_name}}" data-search="{{first_name}} {{last_name}}{{#each extra.listCallerId}} {{formatPhoneNumber this}} {{this}}{{/each}}">
|
|
|
<div class="user-cells">
|
|
|
<div class="name grid-cell" data-type="name"><i class="{{#if extra.isAdmin}}icon-telicon-moderator monster-primary-color{{else}}icon-telicon-user monster-lightgrey{{/if}}"></i> {{ first_name }} {{ last_name }}</div>
|
|
|
|
|
|
{{#if extra.showLicensedUserRoles}}
|
|
|
<div class="licensed-user-role grid-cell" data-type="licensed-user-role">
|
|
|
{{ extra.licensedUserRole }}
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
<div class="extension grid-cell" data-type="extensions">
|
|
|
{{#if extra.extension}}
|
|
|
{{ extra.extension }}
|
|
|
|
|
|
{{#if extra.additionalExtensions}}
|
|
|
<i class="icon-telicon-multiple-items"></i>
|
|
|
{{/if}}
|
|
|
{{else}}
|
|
|
{{ i18n.users.noExtension }}
|
|
|
{{/if}}
|
|
|
</div>
|
|
|
<div class="phone-number grid-cell" data-type="numbers">
|
|
|
{{#if extra.phoneNumber}}
|
|
|
{{ formatPhoneNumber extra.phoneNumber }}
|
|
|
|
|
|
{{#if extra.additionalNumbers}}
|
|
|
<i class="icon-telicon-multiple-items"></i>
|
|
|
{{/if}}
|
|
|
{{else}}
|
|
|
{{ i18n.users.noNumber }}
|
|
|
{{/if}}
|
|
|
</div>
|
|
|
<div class="devices grid-cell" data-type="devices">
|
|
|
{{#each extra.devices}}
|
|
|
{{#compare @index "<" 2}}
|
|
|
<i class="{{this.icon}} {{#if this.enabled}}{{#if this.registered}}monster-green{{else}}monster-red{{/if}}{{else}}monster-grey{{/if}} help-popover" data-toggle="tooltip" data-placement="top" data-original-title="{{ this.name }}"></i>
|
|
|
{{/compare}}
|
|
|
{{else}}
|
|
|
{{ i18n.users.noUserDevices }}
|
|
|
{{/each}}
|
|
|
|
|
|
{{#if extra.additionalDevices}}
|
|
|
<span class="device-popover" data-trigger="hover" data-toggle="popover" data-html="true" data-placement="top" data-content="{{ extra.additionalDevices.tooltip }}">(+{{extra.additionalDevices.count}})</span>
|
|
|
{{/if}}
|
|
|
</div>
|
|
|
<div class="features grid-cell right-aligned{{#compare extra.countFeatures ">" 5}} smaller{{/compare}}" data-type="features">
|
|
|
{{#if extra.hasFeatures}}
|
|
|
{{#each extra.mapFeatures}}
|
|
|
{{#if this.active}}
|
|
|
<i class="{{this.icon}} {{this.iconColor}}" data-toggle="tooltip" data-placement="top" data-original-title="{{ this.title }}"></i>
|
|
|
{{/if}}
|
|
|
{{/each}}
|
|
|
{{else}}
|
|
|
{{ i18n.users.noUserFeatures }}
|
|
|
{{/if}}
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="edit-user" style="display:none;">
|
|
|
|
|
|
</div>
|
|
|
</div>
|