Label can be translated normally.
This commit is contained in:
parent
3867374c98
commit
bf028a16f0
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
|||
<div class="userInfo">
|
||||
<div class="userInfo-entry">
|
||||
<td>
|
||||
<%- @user.avatar("50") %>
|
||||
<%- @user.avatar("50") %>
|
||||
<div class="userInfo-name">
|
||||
<div class="u-textTruncate" title="<%- @Ti( 'Name') %>">
|
||||
<%= @user.displayName() %>
|
||||
|
@ -12,10 +11,10 @@
|
|||
<% if @user[row.name] || row.name is 'note': %>
|
||||
<div class="userInfo-entry">
|
||||
<% if row.tag isnt 'textarea': %>
|
||||
<div class="userInfo-label"><%- @Ti( row.display ) %></div>
|
||||
<div class="userInfo-label"><%- @T( row.display ) %></div>
|
||||
<div class="userInfo-value"><%- @L( @P( @user[row.name] ) ) %></div>
|
||||
<% else: %>
|
||||
<div class="userInfo-label"><%- @Ti( row.display ) %></div>
|
||||
<div class="userInfo-label"><%- @T( row.display ) %></div>
|
||||
<div class="userInfo-value">
|
||||
<div contenteditable="true" data-name="<%= row.name %>" data-type="update" data-placeholder="<%- @T('Add a Note') %>"><%= @user[row.name] %></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue