SmartIT_Extensions/BMC/smart-it-full-helix/views/create/custom-add-user-dropdown.html

23 lines
1.5 KiB
HTML

<div ux-id="create-customer" class="create-new-customer__popup" ng-if="match.model.isEmptyResult" >
<a ng-click="createCustomer();">{{ (match.model.isCreateContactAction ? 'create.contact.action.label' : 'smartrecorder.createNewCustomer') | i18n }}</a>
</div>
<a ng-if="!match.model.isEmptyResult" class="full-width" aria-label="{{match.model.fullName}}">
<div class="create-ticket__popup-item">
<div class="smart-recorder__popup-item-img">
<img alt="{{match.model.fullName}}" class="feed-item__avatar" imgplaceholder="user"
user-availability="match.model" thumbnail-img="{{'data:' + match.model.thumbnailMime + ';base64,' + match.model.thumbnail}}"/>
</div>
<div class="smart-recorder__popup-item-col2 smart-recorder__text-align">
<p ux-id="user-company">{{match.model.company.name}}</p>
<p ux-id="user-mail-stop" ng-if="$parent.$parent.$parent.$parent.showMailstopOnPersoncard">{{match.model.mailStop}}</p>
</div>
<div class="smart-recorder__popup-item-col1 create-ticket__popup-item-col1">
<p ux-id="user-fullname" class="smart-recorder__popup-item-highlight">{{match.model.fullName}}
<span ng-if="match.model.profileStatus === 'Offline'">{{'(' + ('user.settings.availability.offline.label' | i18n) + ')'}}</span>
</p>
<p ux-id="user-email" class="smart-recorder__popup-item-email">{{match.model.email}}</p>
<p ux-id="user-phone" class="smart-recorder__popup-item-email" ng-if="$parent.$parent.$parent.$parent.showPhoneNumOnPersonCard">{{match.model.phone}}</p>
</div>
</div>
</a>