From 368106d07b192e1686cdc090aca7262857d840e7 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 30 Apr 2012 21:50:39 +0200 Subject: [PATCH] First i18n support. --- .../app/views/agent_ticket_zoom.jst.eco | 32 ++++++++++++------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/app/views/agent_ticket_zoom.jst.eco b/app/assets/javascripts/app/views/agent_ticket_zoom.jst.eco index aadc0cd0c..60c9772dd 100644 --- a/app/assets/javascripts/app/views/agent_ticket_zoom.jst.eco +++ b/app/assets/javascripts/app/views/agent_ticket_zoom.jst.eco @@ -1,5 +1,15 @@
@@ -13,7 +23,8 @@
<% if article.from: %> - <%= article.from %> +
+ <%= article.from %> <% if article.actions: %> <% for action in article.actions: %> - @@ -21,26 +32,25 @@ <% end %> <% end %> - <%= article.humanTime %> ago -
+
<% end %> <% if article.to: %> - <%= article.to %> -
+
<%= article.to %>
<% end %> <% if article.cc: %> - <%= article.cc %> -
+
<%= article.cc %>
<% end %> <% if article.subject: %> - <%= article.subject %> -
+
<%= article.subject %>
<% end %> <% if article.attachments: %> +
<% for attachment in article.attachments: %> <%= attachment.filename %> <% end %> -
+
<% end %> +
<%- window.linkify( article.body.trim() ) %>
@@ -59,7 +69,7 @@
  - +