Sha256: d0512f88a6b2aef8b065f4e62e48304e619cd3e30aaf2a1e44d207db5c07dff0

Contents?: true

Size: 766 Bytes

Versions: 3

Compression:

Stored size: 766 Bytes

Contents

<% color = translation.key.locked? ? "#ECFFEF" : "#FDFDDF" %>
<div style="font-size: 11px; color: grey; margin-top:5px; margin-bottom:5px; padding:3px; background:<%=color%>; border:1px dotted #ccc;">
  <% if translation.key.locked? %>
    <div style="float:right"><%=image_tag("tr8n/lock.png", :style=>"width:12px", :title => trla("This phrase is locked"))%></div>
  <% end %>

  <%=tra("Original Phrase:", "Translation section header")%> <%=link_to(translation.key.sanitized_label, :controller => "/tr8n/phrases", :action => :view, :locale => translation.language.locale, :translation_key_id => translation.key.id) %>
  <% unless translation.key.description.blank? %>
    <div style="padding-top:2px;"><%= translation.key.description %></div>
  <% end %>  
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tr8n-3.2.3 app/views/tr8n/translations/_original_phrase.html.erb
tr8n-3.2.2 app/views/tr8n/translations/_original_phrase.html.erb
tr8n-3.2.1 app/views/tr8n/translations/_original_phrase.html.erb