|
|
|
<div class="chat_modal_wrap">
|
|
|
|
|
|
|
|
<div class="modal-header">
|
|
|
|
<a class="modal-close-link visible-xs" ng-click="$close()">Close</a>
|
|
|
|
<h4 class="modal-title">Group Info</h4>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
|
|
|
<div class="chat_modal_image_wrap pull-left">
|
|
|
|
<img
|
|
|
|
class="chat_modal_image"
|
|
|
|
my-load-thumb
|
|
|
|
thumb="chatFull.thumb"/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="chat_modal_info_wrap clearfix">
|
|
|
|
<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"
|
|
|
|
when="{'0': 'No members', 'one': '1 member', 'other': '{} members'}">
|
|
|
|
</ng-pluralize>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="chat_modal_members_header">Members</h5>
|
|
|
|
<div class="chat_modal_members_list">
|
|
|
|
|
|
|
|
<div class="chat_modal_participant_wrap clearfix" ng-repeat="participant in chatFull.participants.participants | orderBy:'-user.sortStatus'">
|
|
|
|
<a ng-click="openUser(participant.user_id)" class="chat_modal_participant_photo pull-left">
|
|
|
|
<img
|
|
|
|
class="chat_modal_participant_photo"
|
|
|
|
my-load-thumb
|
|
|
|
thumb="participant.userPhoto"
|
|
|
|
/>
|
|
|
|
<i class="icon status_online" ng-show="participant.user.status._ == 'userStatusOnline'"></i>
|
|
|
|
</a>
|
|
|
|
<div class="chat_modal_participant_name">
|
|
|
|
<a ng-click="openUser(participant.user.id)" ng-bind-html="participant.user.rFullName"></a>
|
|
|
|
</div>
|
|
|
|
<div class="chat_modal_participant_status">{{participant.user | userStatus}}</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="chat_modal_members_forbidden" ng-if="chatFull.chat._ == 'chatForbidden' || chatFull.chat.left">
|
|
|
|
Group members list is unavailable.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|