123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <div class="form-content">
- <!-- information list card -->
- <md-card class="two-row">
- <div class="avatar">
- <eee-avatar eee-receiver="ctrl.receiver"
- eee-resolution="'high'"></eee-avatar>
- </div>
- <md-card-content>
- <dl class="key-values">
- <dt>Threema ID</dt>
- <dd>
- <span class="complex-values">
- <span>{{ ctrl.receiver.id }}</span>
- <span ng-if="ctrl.receiver.state !== 'ACTIVE'">({{ ctrl.receiver.state }})</span>
- <span class="indicator-icon" ng-if="ctrl.showBlocked()"
- translate-attr="{'aria-label': 'messenger.THREEMA_BLOCKED_RECEIVER'}">
- (<span translate>messenger.THREEMA_BLOCKED_RECEIVER</span>)
- </span>
- <span class="indicator-icon" ng-if="ctrl.isWorkReceiver"
- translate-attr="{'aria-label': 'messenger.THREEMA_WORK_CONTACT',
- 'title': 'messenger.THREEMA_WORK_CONTACT'}">
- <img src="img/ic_work_round.svg" alt="Threema Work user">
- </span>
- <eee-verification-level contact="ctrl.receiver"></eee-verification-level>
- </span>
- </dd>
- <dt><span translate>messenger.KEY_FINGERPRINT</span></dt>
- <dd>{{ ctrl.fingerPrint.value || "Loading..." }}</dd>
- <dt><span translate>messenger.NICKNAME</span></dt>
- <dd ng-if="ctrl.receiver.publicNickname" ng-bind-html="ctrl.receiver.publicNickname | emojify"></dd>
- <dd ng-if="!ctrl.receiver.publicNickname">-</dd>
- <dt><span translate>messenger.FIRST_NAME</span></dt>
- <dd>{{ ctrl.receiver.firstName || "-" }}</dd>
- <dt><span translate>messenger.LAST_NAME</span></dt>
- <dd>{{ ctrl.receiver.lastName || "-" }}</dd>
- </dl>
- </md-card-content>
- </md-card>
- <md-card>
- <md-card-content>
- <section layout="row" layout-sm="column" layout-align="center center" layout-wrap>
- <md-button ng-disabled="!ctrl.controllerModel.canClean()" class="md-raised" ng-click="ctrl.controllerModel.clean($event)">
- <span translate>messenger.DELETE_THREAD</span>
- </md-button>
- </section>
- </md-card-content>
- </md-card>
- <!-- system contact list card -->
- <md-card ng-if="ctrl.hasSystemEmails || ctrl.hasSystemPhones">
- <md-card-title>
- <md-card-title-text>
- <span class="md-headline" translate>messenger.SYSTEM_CONTACT</span>
- </md-card-title-text>
- </md-card-title>
- <md-card-content>
- <div class="two-row">
- <div ng-if="ctrl.hasSystemEmails">
- <dl class="key-values">
- <dt ng-repeat-start="email in ctrl.receiver.systemContact.emails">{{email.label }}</dt>
- <dd ng-repeat-end>{{ email.address }} </dd>
- </dl>
- </div>
- <div ng-if="ctrl.hasSystemPhones">
- <dl class="key-values">
- <dt ng-repeat-start="phoneNumber in ctrl.receiver.systemContact.phoneNumbers">{{phoneNumber.label }}</dt>
- <dd ng-repeat-end>{{ phoneNumber.number }} </dd>
- </dl>
- </div>
- </div>
- </md-card-content>
- </md-card>
- <!-- group card -->
- <md-card ng-if="ctrl.showGroups">
- <md-card-title>
- <md-card-title-text>
- <span class="md-headline" translate>messenger.MEMBER_OF_GROUPS</span>
- </md-card-title-text>
- </md-card-title>
- <md-card-content>
- <ul class="group-list">
- <li ng-repeat="groupReceiver in ctrl.inGroups">
- <eee-group-badge class="linked" eee-group-receiver="groupReceiver" eee-contact-receiver="ctrl.receiver"/>
- </li>
- </ul>
- </md-card-content>
- </md-card>
- <!-- distribution list card -->
- <md-card ng-if="ctrl.showDistributionLists">
- <md-card-title>
- <md-card-title-text>
- <span class="md-headline" translate>messenger.MEMBER_OF_DISTRIBUTION_LISTS</span>
- </md-card-title-text>
- </md-card-title>
- <md-card-content>
- <ul class="group-list">
- <li ng-repeat="distributionListReceiver in ctrl.inDistributionLists">
- <eee-distribution-list-badge eee-distribution-list-receiver="distributionListReceiver"/>
- </li>
- </ul>
- </md-card-content>
- </md-card>
- </div>
|