@@ -18,15 +18,15 @@
<% open = true %>
<% last_user = object['created_by_id'] %>
<% lasttime = object['created_at'] %>
-
<%= object['created_by']['realname'] %> -
-
?
+
<%= object.created_by.displayName() %> -
+
?
<% end %>
-
<% if ( object['history_type'] is 'notification' || object['history_type'] is 'email' ): %>
<%= object['history_type'] %>
<% if object['value_from']: %>
- "<%= object['value_from'] %>" <%- T('sent to') %>
+ "<%= object['value_from'] %>" <%- @T( 'sent to' ) %>
<% end %>
<% if object['value_to']: %>
"<%= object['value_to'] %>"
@@ -34,10 +34,10 @@
<% else: %>
<%= object['history_type'] %> <%= object['history_object_display'] %> <% if object['history_attribute']: %>"<%= object['history_attribute'] %>"<% end %>
<% if object['value_from']: %>
- <%- T('from') %> "<%= object['value_from'] %>"
+ <%- @T( 'from' ) %> "<%= object['value_from'] %>"
<% end %>
<% if object['value_to']: %>
- <%- T('to') %> "<%= object['value_to'] %>"
+ <%- @T( 'to' ) %> "<%= object['value_to'] %>"
<% end %>
<% end %>
diff --git a/app/assets/javascripts/app/views/agent_ticket_merge.jst.eco b/app/assets/javascripts/app/views/agent_ticket_merge.jst.eco
index 2ecf84c36..d255d2667 100644
--- a/app/assets/javascripts/app/views/agent_ticket_merge.jst.eco
+++ b/app/assets/javascripts/app/views/agent_ticket_merge.jst.eco
@@ -1,11 +1,11 @@
\ No newline at end of file
diff --git a/app/assets/javascripts/app/views/agent_ticket_view.jst.eco b/app/assets/javascripts/app/views/agent_ticket_view.jst.eco
index f416db90f..4e6c80012 100644
--- a/app/assets/javascripts/app/views/agent_ticket_view.jst.eco
+++ b/app/assets/javascripts/app/views/agent_ticket_view.jst.eco
@@ -1,7 +1,7 @@