Fixed user modal actions order

This commit is contained in:
Igor Zhukov 2014-11-30 11:07:37 -08:00
parent baa1c9107f
commit 9823a6b358

View File

@ -36,15 +36,15 @@
<li ng-if="user.phone.length > 0 &amp;&amp; user._ != 'userContact'"> <li ng-if="user.phone.length > 0 &amp;&amp; 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>