|
|
@ -36,15 +36,15 @@ |
|
|
|
<li ng-if="user.phone.length > 0 && user._ != 'userContact'"> |
|
|
|
<li ng-if="user.phone.length > 0 && user._ != 'userContact'"> |
|
|
|
<a ng-click="importContact()" my-i18n="user_modal_add_contact"></a> |
|
|
|
<a ng-click="importContact()" my-i18n="user_modal_add_contact"></a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
<li ng-if="user.phone.length > 0"> |
|
|
|
|
|
|
|
<a ng-click="shareContact()" my-i18n="user_modal_share_contact"></a> |
|
|
|
|
|
|
|
</li> |
|
|
|
<li ng-if="user._ != 'userSelf'"> |
|
|
|
<li ng-if="user._ != 'userSelf'"> |
|
|
|
<a ng-click="toggleBlock(!blocked)" ng-switch="blocked"> |
|
|
|
<a ng-click="toggleBlock(!blocked)" ng-switch="blocked"> |
|
|
|
<my-i18n ng-switch-when="true" msgid="user_modal_unblock_user"></my-i18n> |
|
|
|
<my-i18n ng-switch-when="true" msgid="user_modal_unblock_user"></my-i18n> |
|
|
|
<my-i18n ng-switch-default msgid="user_modal_block_user"></my-i18n> |
|
|
|
<my-i18n ng-switch-default msgid="user_modal_block_user"></my-i18n> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li ng-if="user.phone.length > 0"> |
|
|
|
|
|
|
|
<a ng-click="shareContact()" my-i18n="user_modal_share_contact"></a> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<a ng-click="flushHistory()" my-i18n="user_modal_delete_chat"></a> |
|
|
|
<a ng-click="flushHistory()" my-i18n="user_modal_delete_chat"></a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|