Sha256: 4433c5f161c19dc0ae6c8f8a04b1f8a30fc5cc7861e2c19a0a70d73dc5361e25

Contents?: true

Size: 803 Bytes

Versions: 12

Compression:

Stored size: 803 Bytes

Contents

<% color = @reported_object.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 @reported_object.key.locked? %>
    <div style="float:right"><%=image_tag("tr8n/lock.png", :style=>"width:12px", :title => trl("This phrase is locked"))%></div>
  <% end %>

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
tr8n-3.2.3 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.2.2 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.2.1 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.2.0 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.1.8 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.1.7 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.1.6 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.1.5 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.1.4 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.1.3 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.1.2 app/views/tr8n/translator/_header_key_report.html.erb
tr8n-3.1.1 app/views/tr8n/translator/_header_key_report.html.erb