Small visibility improvements.

This commit is contained in:
Martin Edenhofer 2015-01-14 23:12:05 +01:00
parent 7513fd4f8a
commit 3247fc32c5

View file

@ -1,13 +1,20 @@
<div> <div>
<div class="<%- @ticket.icon() %>" title="<%- @ticket.iconTitle() %>"></div> <span class="<%- @ticket.icon() %>" title="<%- @ticket.iconTitle() %>"></span> <span class="<%- @ticket.iconTextClass() %>"><%- @ticket.iconTitle() %></span>
</div> </div>
<hr> <hr>
<h3>Personen</h3> <h3><%- @P('Agent') %></h3>
<div class="person"> <div class="person">
<%- @P( @ticket.owner ) %> <%= @ticket.owner.displayName() %>
<% if @ticket.owner.organization_id: %>
<span class="organization"><%= @ticket.owner.organization.displayName() %></span>
<% end %>
</div> </div>
<h3><%- @P('Customer') %></h3>
<div class="person"> <div class="person">
<%- @P( @ticket.customer ) %> <%= @ticket.customer.displayName() %>
<% if @ticket.customer.organization_id: %>
<span class="organization"><%= @ticket.customer.organization.displayName() %></span>
<% end %>
</div> </div>
<hr> <hr>
<div class="horizontal two-columns"> <div class="horizontal two-columns">
@ -15,10 +22,6 @@
<h3>#</h3> <h3>#</h3>
<div class="u-textTruncate"><%- @P( @ticket.number ) %></div> <div class="u-textTruncate"><%- @P( @ticket.number ) %></div>
</div> </div>
<div class="column">
<h3><%- @T( 'State' ) %></h3>
<div class="u-textTruncate"><%- @P( @ticket.state.name ) %></div>
</div>
<div class="column"> <div class="column">
<h3><%- @T( 'Priority' ) %></h3> <h3><%- @T( 'Priority' ) %></h3>
<div class="u-textTruncate"><%- @T( @ticket.priority.name ) %></div> <div class="u-textTruncate"><%- @T( @ticket.priority.name ) %></div>