2014-01-05 16:07:11 +00:00
|
|
|
<div class="chat_modal_wrap">
|
|
|
|
|
|
|
|
<div class="modal-header">
|
2014-02-18 17:44:50 +00:00
|
|
|
<a class="modal-close-link" ng-click="$close()">Close</a>
|
2014-01-05 16:07:11 +00:00
|
|
|
<h4 class="modal-title">Group Info</h4>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
|
|
|
<div class="chat_modal_image_wrap pull-left">
|
2014-01-23 13:49:24 +00:00
|
|
|
<img
|
|
|
|
class="chat_modal_image"
|
|
|
|
my-load-thumb
|
|
|
|
thumb="chatFull.thumb"/>
|
2014-01-05 16:07:11 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="chat_modal_info_wrap clearfix">
|
2014-01-21 17:56:30 +00:00
|
|
|
<h4 class="chat_modal_header" ng-bind-html="chatFull.chat.rTitle"></h4>
|
|
|
|
<p class="chat_modal_members_count" ng-if="chatFull.chat.participants_count > 0">
|
|
|
|
<ng-pluralize count="chatFull.chat.participants_count"
|
2014-01-05 16:07:11 +00:00
|
|
|
when="{'0': 'No members', 'one': '1 member', 'other': '{} members'}">
|
|
|
|
</ng-pluralize>
|
|
|
|
</p>
|
|
|
|
|
2014-02-07 20:43:07 +00:00
|
|
|
<div class="chat_modal_settings_wrap">
|
|
|
|
<div class="chat_modal_notifications">
|
|
|
|
Notifications:
|
|
|
|
<a ng-click="settings.notifications = !settings.notifications">
|
|
|
|
{{settings.notifications ? 'ON' : 'OFF'}}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="chat_modal_clear">
|
|
|
|
<a href="" ng-click="flushHistory()">Clear History</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="chat_modal_leave_join" ng-if="chatFull.chat._ != 'chatForbidden'">
|
|
|
|
<div class="chat_modal_leave" ng-if="!chatFull.chat.left">
|
|
|
|
<a href="" ng-click="leaveGroup()">Leave group</a>
|
|
|
|
</div>
|
|
|
|
<div class="chat_modal_leave" ng-if="chatFull.chat.left">
|
|
|
|
<a href="" ng-click="returnToGroup()">Return to group</a>
|
|
|
|
</div>
|
2014-03-01 16:54:53 +00:00
|
|
|
|
2014-02-07 20:43:07 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-01-05 16:07:11 +00:00
|
|
|
</div>
|
|
|
|
|
2014-03-01 16:54:53 +00:00
|
|
|
<h5 class="chat_modal_members_header">
|
|
|
|
<a href="" ng-click="inviteToGroup()" ng-if="!chatFull.chat.left && chatFull.participants.participants.length" class="pull-right">Add participant</a>
|
|
|
|
Members
|
|
|
|
</h5>
|
2014-01-05 16:07:11 +00:00
|
|
|
<div class="chat_modal_members_list">
|
|
|
|
|
2014-02-12 15:10:05 +00:00
|
|
|
<div class="chat_modal_participant_wrap clearfix" ng-repeat="participant in chatFull.participants.participants | orderBy:'-user.sortStatus'">
|
2014-03-01 17:27:39 +00:00
|
|
|
<a ng-if="participant.canKick" ng-click="kickFromGroup(participant.user_id)" class="chat_modal_participant_kick pull-right">Kick</a>
|
2014-01-05 16:07:11 +00:00
|
|
|
<a ng-click="openUser(participant.user_id)" class="chat_modal_participant_photo pull-left">
|
2014-01-23 13:49:24 +00:00
|
|
|
<img
|
|
|
|
class="chat_modal_participant_photo"
|
|
|
|
my-load-thumb
|
|
|
|
thumb="participant.userPhoto"
|
|
|
|
/>
|
2014-02-12 15:10:05 +00:00
|
|
|
<i class="icon status_online" ng-show="participant.user.status._ == 'userStatusOnline'"></i>
|
2014-01-05 16:07:11 +00:00
|
|
|
</a>
|
2014-01-17 09:27:49 +00:00
|
|
|
<div class="chat_modal_participant_name">
|
|
|
|
<a ng-click="openUser(participant.user.id)" ng-bind-html="participant.user.rFullName"></a>
|
|
|
|
</div>
|
2014-01-05 16:07:11 +00:00
|
|
|
<div class="chat_modal_participant_status">{{participant.user | userStatus}}</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2014-02-07 20:43:07 +00:00
|
|
|
<div class="chat_modal_members_forbidden" ng-if="chatFull.chat._ == 'chatForbidden' || chatFull.chat.left">
|
|
|
|
Group members list is unavailable.
|
|
|
|
</div>
|
|
|
|
|
2014-01-05 16:07:11 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|