|
|
|
@ -103,7 +103,7 @@
@@ -103,7 +103,7 @@
|
|
|
|
|
<div class="im_history_scrollable_wrap nano-content"> |
|
|
|
|
|
|
|
|
|
<div class="im_history_scrollable"> |
|
|
|
|
<div class="im_history" ng-class="{im_history_selectable: !historyState.startBot, im_history_select_active: historyState.selectActions}"> |
|
|
|
|
<div class="im_history" ng-class="{im_history_selectable: !historyState.botActions, im_history_select_active: historyState.selectActions}"> |
|
|
|
|
<div ng-if="state.empty" class="im_history_empty" ng-switch="state.mayBeHasMore" my-vertical-position="0.25" padding="true"> |
|
|
|
|
<span ng-switch-when="true"> |
|
|
|
|
<my-i18n msgid="im_loading_history"></my-i18n><span my-loading-dots></span> |
|
|
|
@ -140,21 +140,32 @@
@@ -140,21 +140,32 @@
|
|
|
|
|
|
|
|
|
|
<div class="im_bottom_panel_wrap"> |
|
|
|
|
|
|
|
|
|
<div class="im_edit_panel_wrap clearfix" ng-show="historyState.selectActions || historyState.startBot" ng-switch="historyState.startBot != false"> |
|
|
|
|
<div class="im_edit_panel_wrap clearfix" ng-show="historyState.actions()" ng-switch="historyState.actions()"> |
|
|
|
|
<div class="im_edit_panel_border"></div> |
|
|
|
|
<a ng-show="historyState.startBot != 2" class="btn btn-md btn-md-primary im_edit_cancel_link" ng-click="selectedCancel()" my-i18n="modal_cancel"></a> |
|
|
|
|
<div class="im_edit_start_actions" ng-switch-when="true"> |
|
|
|
|
<a class="btn btn-primary im_start_btn" ng-click="botStart()" my-i18n="im_start"></a> |
|
|
|
|
|
|
|
|
|
<div ng-switch-when="bot"> |
|
|
|
|
<a ng-show="historyState.botActions == 'param'" class="btn btn-md btn-md-primary im_edit_cancel_link" ng-click="cancelBot()" my-i18n="modal_cancel"></a> |
|
|
|
|
<div class="im_edit_start_actions"> |
|
|
|
|
<a class="btn btn-primary im_start_btn" ng-click="startBot()" my-i18n="im_start"></a> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div ng-switch-when="channel"> |
|
|
|
|
<div class="im_edit_start_actions" ng-switch="historyState.channelActions"> |
|
|
|
|
<a ng-switch-when="join" class="btn btn-primary im_start_btn" ng-click="joinChannel()" my-i18n="im_channel_join"></a> |
|
|
|
|
<a ng-switch-when="mute" class="btn btn-primary im_start_btn" ng-click="togglePeerMuted(true)" my-i18n="im_channel_mute"></a> |
|
|
|
|
<a ng-switch-when="unmute" class="btn btn-primary im_start_btn" ng-click="togglePeerMuted(false)" my-i18n="im_channel_unmute"></a> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="im_edit_selected_actions" ng-switch-default my-i18n> |
|
|
|
|
<div ng-switch-when="selected" class="im_edit_selected_actions" my-i18n> |
|
|
|
|
<a class="btn btn-md btn-md-primary im_edit_cancel_link" ng-click="selectedCancel()" my-i18n="modal_cancel"></a> |
|
|
|
|
<a class="btn btn-primary im_edit_forward_btn" ng-click="selectedForward()" ng-class="{disabled: !selectedCount}" ng-disabled="!selectedCount" my-i18n-format="im_forward"></a> |
|
|
|
|
<a class="btn btn-primary im_edit_delete_btn" ng-click="selectedDelete()" ng-class="{disabled: !selectedCount}" ng-disabled="!selectedCount" my-i18n-format="im_delete"></a> |
|
|
|
|
<a class="btn btn-primary im_edit_reply_btn" ng-click="selectedReply()" ng-show="selectedCount == 1"my-i18n="im_reply"></a> |
|
|
|
|
<a class="btn btn-primary im_edit_reply_btn" ng-click="selectedReply()" ng-show="selectedCount == 1" my-i18n="im_reply"></a> |
|
|
|
|
<my-i18n-param name="count"><strong class="im_selected_count" ng-show="selectedCount > 0" ng-bind="selectedCount"></strong></my-i18n-param> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="im_send_panel_wrap" ng-show="!historyState.selectActions && !historyState.startBot"> |
|
|
|
|
<div class="im_send_panel_wrap" ng-show="!historyState.actions()"> |
|
|
|
|
|
|
|
|
|
<div class="im_send_form_wrap1"> |
|
|
|
|
|
|
|
|
|