From f9bb6d1ec5d97ed55bd6ebb52d882f8cfc4d9c82 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 15 Feb 2015 23:49:09 +0100 Subject: [PATCH] Improved view. --- .../views/agent_ticket_view/detail.jst.eco | 79 +++++++++++-------- 1 file changed, 44 insertions(+), 35 deletions(-) diff --git a/app/assets/javascripts/app/views/agent_ticket_view/detail.jst.eco b/app/assets/javascripts/app/views/agent_ticket_view/detail.jst.eco index 7130d2afa..cc1505224 100644 --- a/app/assets/javascripts/app/views/agent_ticket_view/detail.jst.eco +++ b/app/assets/javascripts/app/views/agent_ticket_view/detail.jst.eco @@ -1,45 +1,54 @@ -
-
-
+ + +
- - - + + + <% for ticket in @objects: %> - - - <% end %> -
- + + - - -

<%= ticket.title %> <%= ticket.number %> ?

-
-
- <%- @T( 'State' ) %> <%- @P( ticket, 'state' ) %> +
+ <%- ticket.customer.avatar("50", "", "userInfo-avatar") %> +

<%= ticket.title %>

+ +
+
+ + + + + + + + + + + + + +
<%- @P( ticket, 'number' ) %>
<%- @P( ticket, 'state' ) %>
<%- @P( ticket, 'group' ) %>
<%- @P( ticket, 'customer' ) %>
-
- <%- @T( 'Group' ) %> <%- @P( ticket, 'group' ) %> -
-
- <%- @T( 'Customer' ) %> <%- @P( ticket, 'customer' ) %> +
+ + + + + + + + + + + + + +
<%- @P( ticket, 'created_at' ) %>
<%- @P( ticket, 'priority' ) %>
<%- @P( ticket, 'owner' ) %>
<%- @P( ticket, 'organization' ) %>
-
-
- <%- @T( 'Priority' ) %> <%- @P( ticket, 'priority' ) %> -
-
- <%- @T( 'Owner' ) %> <%- @P( ticket, 'owner' ) %> -
-
- <%- @T( 'Organization' ) %> <%- @P( ticket, 'organization' ) %> -
-
-
- \ No newline at end of file +
\ No newline at end of file