|
|
@ -31,38 +31,54 @@ |
|
|
|
<div class="im_history_panel clearfix" ng-controller="AppImPanelController"> |
|
|
|
<div class="im_history_panel clearfix" ng-controller="AppImPanelController"> |
|
|
|
<div class="im_history_panel_title"> |
|
|
|
<div class="im_history_panel_title"> |
|
|
|
|
|
|
|
|
|
|
|
<div ng-if="historyPeer.id < 0"> |
|
|
|
<a class="im_history_panel_info_link pull-right" ng-click="showPeerInfo()">Info</a> |
|
|
|
<span class="im_history_panel_info_link pull-right">Info</span> |
|
|
|
<a class="im_history_panel_edit_link pull-right" ng-click="toggleEdit()">Edit</a> |
|
|
|
<span class="im_history_panel_edit_link pull-right" ng-click="toggleEdit()">Edit</span> |
|
|
|
|
|
|
|
<h4 ng-click="openChat(-historyPeer.id)"> |
|
|
|
<div class="dropdown im_history_panel_media_dropdown pull-right"> |
|
|
|
<span ng-bind-html="historyPeer.data.rTitle"></span> |
|
|
|
<a class="dropdown-toggle">Media<i class="icon icon-caret"></i></a> |
|
|
|
<small class="im_chat_users"> |
|
|
|
<ul class="dropdown-menu"> |
|
|
|
<ng-pluralize count="historyPeer.data.participants_count" |
|
|
|
<li> |
|
|
|
when="{'0': 'No members', 'one': '1 member', 'other': '{} members'}"> |
|
|
|
<a ng-click="toggleMedia('photos')">Photos & Videos</a> |
|
|
|
</ng-pluralize> |
|
|
|
</li> |
|
|
|
</small> |
|
|
|
<li> |
|
|
|
</h4> |
|
|
|
<a ng-click="toggleMedia('documents')">Documents</a> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
|
|
|
|
</ul> |
|
|
|
<div ng-if="historyPeer.id > 0"> |
|
|
|
|
|
|
|
<span class="im_history_panel_info_link pull-right">Info</span> |
|
|
|
|
|
|
|
<span class="im_history_panel_edit_link pull-right" ng-click="toggleEdit()">Edit</span> |
|
|
|
|
|
|
|
<h4 ng-click="openUser(historyPeer.id)"> |
|
|
|
|
|
|
|
<span ng-bind-html="historyPeer.data.rFullName"></span> |
|
|
|
|
|
|
|
<small class="im_peer_online">{{historyPeer.data | userStatus}}</small> |
|
|
|
|
|
|
|
</h4> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<a ng-if="mediaType !== false" class="im_history_panel_return_link pull-right" ng-click="toggleMedia()"> |
|
|
|
|
|
|
|
Show all messages |
|
|
|
|
|
|
|
<strong class="im_history_panel_return_count" ng-show="missedCount > 0">+{{missedCount}}</strong> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 ng-if="mediaType !== false" ng-switch="mediaType"> |
|
|
|
|
|
|
|
<span ng-switch-when="photos"> Photos & Videos </span> |
|
|
|
|
|
|
|
<span ng-switch-when="documents"> Documents </span> |
|
|
|
|
|
|
|
</h4> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 ng-if="mediaType === false && historyPeer.id < 0" ng-click="showPeerInfo()"> |
|
|
|
|
|
|
|
<span ng-bind-html="historyPeer.data.rTitle"></span> |
|
|
|
|
|
|
|
<small class="im_chat_users"> |
|
|
|
|
|
|
|
<ng-pluralize count="historyPeer.data.participants_count" |
|
|
|
|
|
|
|
when="{'0': 'No members', 'one': '1 member', 'other': '{} members'}"> |
|
|
|
|
|
|
|
</ng-pluralize> |
|
|
|
|
|
|
|
</small> |
|
|
|
|
|
|
|
</h4> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 ng-if="mediaType === false && historyPeer.id > 0" ng-click="showPeerInfo()"> |
|
|
|
|
|
|
|
<span ng-bind-html="historyPeer.data.rFullName"></span> |
|
|
|
|
|
|
|
<small class="im_peer_online">{{historyPeer.data | userStatus}}</small> |
|
|
|
|
|
|
|
</h4> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="im_edit_panel_wrap clearfix" ng-if="selectActions"> |
|
|
|
<div class="im_edit_panel_wrap clearfix" ng-show="selectActions"> |
|
|
|
<a class="im_edit_delete_link" ng-click="selectedDelete()"><i class="icon icon-delete"></i></a> |
|
|
|
<a class="im_edit_delete_link" ng-click="selectedDelete()"><i class="icon icon-delete"></i></a> |
|
|
|
<a class="im_edit_cancel_link" ng-click="selectedCancel()">Cancel</a> |
|
|
|
<a class="im_edit_cancel_link" ng-click="selectedCancel()">Cancel</a> |
|
|
|
<h4 class="im_edit_panel_title"> |
|
|
|
<h4 class="im_edit_panel_title"> |
|
|
|
<ng-pluralize count="selectedCount" |
|
|
|
<ng-pluralize count="selectedCount" |
|
|
|
when="{'0': 'No messages', 'one': '1 message', 'other': '{} messages'}"> |
|
|
|
when="{'0': 'Select messages', 'one': '1 message', 'other': '{} messages'}"> |
|
|
|
</ng-pluralize> |
|
|
|
</ng-pluralize> |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -97,20 +113,13 @@ |
|
|
|
<div class="im_send_form_wrap1"> |
|
|
|
<div class="im_send_form_wrap1"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="im_send_form_wrap clearfix" ng-controller="AppImSendController"> |
|
|
|
<div class="im_send_form_wrap clearfix" ng-controller="AppImSendController"> |
|
|
|
<div class="pull-right im_panel_peer_photo" ng-click="openUser(historyPeer.id)" ng-if="historyPeer.id > 0"> |
|
|
|
<div class="pull-right im_panel_peer_photo" ng-click="showPeerInfo()"> |
|
|
|
<img |
|
|
|
|
|
|
|
class="im_panel_peer_photo" |
|
|
|
|
|
|
|
my-load-thumb |
|
|
|
|
|
|
|
thumb="historyPeer.photo" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
<i class="icon im_panel_peer_online" ng-show="historyPeer.data.status._ == 'userStatusOnline'"></i> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="pull-right im_panel_peer_photo" ng-click="openChat(-historyPeer.id)" ng-if="historyPeer.id < 0"> |
|
|
|
|
|
|
|
<img |
|
|
|
<img |
|
|
|
class="im_panel_peer_photo" |
|
|
|
class="im_panel_peer_photo" |
|
|
|
my-load-thumb |
|
|
|
my-load-thumb |
|
|
|
thumb="historyPeer.photo" |
|
|
|
thumb="historyPeer.photo" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
<i class="icon im_panel_peer_online" ng-show="historyPeer.id > 0 && historyPeer.data.status._ == 'userStatusOnline'"></i> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="pull-left im_panel_own_photo"> |
|
|
|
<div class="pull-left im_panel_own_photo"> |
|
|
|
<img |
|
|
|
<img |
|
|
|