From c785141a18b1d55edc6e9b554928a381b20be890 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 29 Sep 2013 19:21:42 +0200 Subject: [PATCH] Small layout improvement. --- .../javascripts/app/views/agent_ticket_history.jst.eco | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/views/agent_ticket_history.jst.eco b/app/assets/javascripts/app/views/agent_ticket_history.jst.eco index 81c807bd8..06684cfaf 100644 --- a/app/assets/javascripts/app/views/agent_ticket_history.jst.eco +++ b/app/assets/javascripts/app/views/agent_ticket_history.jst.eco @@ -33,10 +33,16 @@ <% else: %> <%= item['type'] %> <%= item['object'] %> <% if item['attribute']: %>"<%= item['attribute'] %>"<% end %> <% if item['value_from']: %> - <%- @T( 'from' ) %> "<%= item['value_from'] %>" + <% if item['value_to']: %> + <%- @T( 'from' ) %> + <% end %> + "<%= item['value_from'] %>" <% end %> <% if item['value_to']: %> - <%- @T( 'to' ) %> "<%= item['value_to'] %>" + <% if item['value_from']: %> + <%- @T( 'to' ) %> + <% end %> + "<%= item['value_to'] %>" <% end %> <% end %>