Only show popovers on arrows.

This commit is contained in:
Martin Edenhofer 2016-01-28 14:30:06 +01:00
parent a5a1f41423
commit 9e31bffd16
2 changed files with 6 additions and 6 deletions

View file

@ -111,7 +111,7 @@ class App.CustomerChat extends App.Controller
chat_sessions: list chat_sessions: list
) )
@el.find('.js-waitingCustomers').popover( @el.find('.js-waitingCustomers .js-arrow').popover(
trigger: 'hover' trigger: 'hover'
html: true html: true
animation: false animation: false
@ -123,7 +123,7 @@ class App.CustomerChat extends App.Controller
chatSessionList(@meta.waiting_chat_session_list) chatSessionList(@meta.waiting_chat_session_list)
) )
@el.find('.js-chattingCustomers').popover( @el.find('.js-chattingCustomers .js-arrow').popover(
trigger: 'hover' trigger: 'hover'
html: true html: true
animation: false animation: false
@ -135,7 +135,7 @@ class App.CustomerChat extends App.Controller
chatSessionList(@meta.running_chat_session_list) chatSessionList(@meta.running_chat_session_list)
) )
@el.find('.js-activeAgents').popover( @el.find('.js-activeAgents .js-arrow').popover(
trigger: 'hover' trigger: 'hover'
html: true html: true
animation: false animation: false

View file

@ -6,13 +6,13 @@
<div class="page-header-center"> <div class="page-header-center">
<div class="status-fields"> <div class="status-fields">
<div class="status-field js-acceptChat js-waitingCustomers"> <div class="status-field js-acceptChat js-waitingCustomers">
<span class="badge js-badgeWaitingCustomers"></span> <%- @T('Waiting Customers') %> <div class="info-arrow"><%- @Icon('arrow-down') %></div> <span class="badge js-badgeWaitingCustomers"></span> <%- @T('Waiting Customers') %> <div class="info-arrow js-arrow"><%- @Icon('arrow-down') %></div>
</div> </div>
<div class="status-field js-chattingCustomers"> <div class="status-field js-chattingCustomers">
<span class="badge js-badgeChattingCustomers"></span> <%- @T('Chatting Customers') %> <div class="info-arrow"><%- @Icon('arrow-down') %></div> <span class="badge js-badgeChattingCustomers"></span> <%- @T('Chatting Customers') %> <div class="info-arrow js-arrow"><%- @Icon('arrow-down') %></div>
</div> </div>
<div class="status-field js-activeAgents"> <div class="status-field js-activeAgents">
<span class="badge js-badgeActiveAgents"></span> <%- @T('Active Agents') %> <div class="info-arrow"><%- @Icon('arrow-down') %></div> <span class="badge js-badgeActiveAgents"></span> <%- @T('Active Agents') %> <div class="info-arrow js-arrow"><%- @Icon('arrow-down') %></div>
</div> </div>
</div> </div>
</div> </div>