Igor Zhukov
9 years ago
7 changed files with 71 additions and 50 deletions
@ -1,8 +1,8 @@ |
|||||||
<div class="im_message_contact"> |
<div class="im_message_contact"> |
||||||
<a ng-if="historyMessage.media.user_id > 0" class="im_message_contact_photo pull-left" my-peer-photolink="historyMessage.media.user_id" img-class="im_message_contact_photo" user-override="historyMessage.media"></a> |
<a ng-if="::media.user_id > 0" class="im_message_contact_photo pull-left" my-peer-photolink="media.user_id" img-class="im_message_contact_photo" user-override="media"></a> |
||||||
<div class="im_message_contact_name" ng-switch="historyMessage.media.user_id > 0"> |
<div class="im_message_contact_name" ng-switch="media.user_id > 0"> |
||||||
<a ng-switch-when="true" my-peer-link="historyMessage.media.user_id" user-override="historyMessage.media"></a> |
<a ng-switch-when="true" my-peer-link="media.user_id" user-override="media"></a> |
||||||
<span ng-switch-default ng-bind-html="::historyMessage.media.rFullName"></span> |
<span ng-switch-default ng-bind-html="::media.rFullName"></span> |
||||||
</div> |
</div> |
||||||
<div class="im_message_contact_phone" ng-bind="::historyMessage.media.phone_number | phoneNumber"></div> |
<div class="im_message_contact_phone" ng-bind="::media.phone_number | phoneNumber"></div> |
||||||
</div> |
</div> |
@ -1,8 +1,8 @@ |
|||||||
<div class="im_message_contact"> |
<div class="im_message_contact"> |
||||||
<a ng-if="historyMessage.media.user_id > 0" class="im_message_contact_photo pull-left" my-peer-photolink="historyMessage.media.user_id" img-class="im_message_contact_photo" user-override="historyMessage.media"></a> |
<a ng-if="::media.user_id > 0" class="im_message_contact_photo pull-left" my-peer-photolink="media.user_id" img-class="im_message_contact_photo" user-override="media"></a> |
||||||
<div class="im_message_contact_name" ng-switch="historyMessage.media.user_id > 0"> |
<div class="im_message_contact_name" ng-switch="media.user_id > 0"> |
||||||
<a ng-switch-when="true" my-peer-link="historyMessage.media.user_id" user-override="historyMessage.media"></a> |
<a ng-switch-when="true" my-peer-link="media.user_id" user-override="media"></a> |
||||||
<span ng-switch-default ng-bind-html="::historyMessage.media.rFullName"></span> |
<span ng-switch-default ng-bind-html="::media.rFullName"></span> |
||||||
</div> |
</div> |
||||||
<div class="im_message_contact_phone" ng-bind="::historyMessage.media.phone_number | phoneNumber"></div> |
<div class="im_message_contact_phone" ng-bind="::media.phone_number | phoneNumber"></div> |
||||||
</div> |
</div> |
Loading…
Reference in new issue