Sha256: 6ff8fd9fb22e6ee8472acee9e4fe0fa420ca07f5b1a713b12811d80c93d0c0cf
Contents?: true
Size: 1.67 KB
Versions: 15
Compression:
Stored size: 1.67 KB
Contents
<% if lang.total_metric.not_translated_count == 0 and lang.total_metric.key_count > 0 %> <div style="background-color:#ECFFEF; border: 1px dotted #ccc; font-size: 12px; padding:5px; margin-top:3x; margin-bottom:10px; color: #999;"> <%=tra("This language is fully translated.", "Dashboard section header")%> </div> <% else %> <div style="background-color:#EFF8FF; border: 1px dotted #ccc; font-size: 12px; padding:5px; margin-top:3x; margin-bottom:10px; color: #999;"> <%=tra("This language has [link: {count||phrase}] that need to be translated.", "Dashboard section header", :count => lang.total_metric.not_translated_count, :link => lambda{|str| link_to(str, :controller => "/tr8n/phrases", :action => :index, :locale => lang.locale, :phrase_type => :without)} )%> </div> <% end %> <div style="font-size:14px; border-bottom:1px solid #ccc; margin-bottom:5px;"> <div style="float:right"> <%=tr8n_translator_rank_tag(tr8n_current_translator, translator_metric.rank)%> </div> <%=tr8n_toggler_tag("stats_content_#{lang.id}", "", true)%> <%=tra("Language Statistics", "Dashboard section header") %> </div> <div id="stats_content_<%=lang.id%>" style=""> <table style="width:100%"> <tr> <td style="width:50%; padding-top:3px; padding-right:3px; padding-bottom:10px;"> <%=render :partial => "language_metric", :locals => {:language_metric => lang.total_metric, :lang => lang} %> </td> <td style="width:50%;padding-top:3px; padding-bottom:10px;"> <%=render :partial => "translator_metric", :locals => {:translator_metric => translator_metric, :lang => lang} %> </td> </tr> </table> </div>
Version data entries
15 entries across 15 versions & 1 rubygems