From bf028a16f016fb12609b97500296b4044905175e Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 15 Nov 2014 08:29:26 +0100 Subject: [PATCH] Label can be translated normally. --- app/assets/javascripts/app/views/widget/user.jst.eco | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/views/widget/user.jst.eco b/app/assets/javascripts/app/views/widget/user.jst.eco index 40c5014a7..90b4e4f25 100644 --- a/app/assets/javascripts/app/views/widget/user.jst.eco +++ b/app/assets/javascripts/app/views/widget/user.jst.eco @@ -1,7 +1,6 @@
- - <%- @user.avatar("50") %> + <%- @user.avatar("50") %>
<%= @user.displayName() %> @@ -12,10 +11,10 @@ <% if @user[row.name] || row.name is 'note': %>
<% if row.tag isnt 'textarea': %> -
<%- @Ti( row.display ) %>
+
<%- @T( row.display ) %>
<%- @L( @P( @user[row.name] ) ) %>
<% else: %> -
<%- @Ti( row.display ) %>
+
<%- @T( row.display ) %>
<%= @user[row.name] %>