Show escalation only for agents.

This commit is contained in:
Martin Edenhofer 2013-03-08 10:20:58 +01:00
parent d5271f8244
commit e16b1959ec

View file

@ -22,7 +22,7 @@
<%- @T( @ticket.ticket_state.name ) %> - <%- @T( @ticket.ticket_state.name ) %> -
<%- @T( @ticket.ticket_priority.name ) %> - <%- @T( @ticket.ticket_priority.name ) %> -
<span class="humanTimeFromNow" data-time="<%- @ticket.created_at %>">?</span> <span class="humanTimeFromNow" data-time="<%- @ticket.created_at %>">?</span>
<% if @isCustomer && @ticket.escalation_time: %> <% if !@isCustomer && @ticket.escalation_time: %>
- <%- @T('Escalation in') %> - <%- @T('Escalation in') %>
<span class="humanTimeFromNow escalation" data-time="<%- @ticket.escalation_time %>">?</span> <span class="humanTimeFromNow escalation" data-time="<%- @ticket.escalation_time %>">?</span>
<% end %> <% end %>