Sha256: 5a55ecf594cca44e407c3d45e4f5fcd85574c789279ed0bf034b07d003139b38

Contents?: true

Size: 890 Bytes

Versions: 10

Compression:

Stored size: 890 Bytes

Contents

<% if Tr8n.config.enabled? %>
  <% featured_languages = tr8n_application.featured_languages %>
  <% if featured_languages.any? %> 
    <style>
    .tr8n_language_strip                            {text-align:center; color:#777;}
    .tr8n_language_strip a                          {text-decoration:none; color:#777; outline:none; border:0px; font-size:10px;}
    .tr8n_language_strip a img                      {border:0px;}
    .tr8n_language_strip a:hover                    {text-decoration:underline}  
    </style>
    <div class="tr8n_language_strip" style="font-size:12px;">
      <% featured_languages.each do |lang| %>
          <%= tr8n_language_name_tag(lang, opts) %> &nbsp;
      <% end %>
      
      <% if featured_languages.size > 0 %>
          <%=link_to_function("&raquo;".html_safe, "Tr8n.UI.LanguageSelector.show()") %>
      <% end %> 
    </div>
  <% end %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tr8n_client_sdk-4.3.1 app/views/tr8n_client_sdk/tags/_language_strip.html.erb
tr8n_client_sdk-4.2.1 app/views/tr8n_client_sdk/tags/_language_strip.html.erb
tr8n_client_sdk-4.1.6 app/views/tr8n_client_sdk/tags/_language_strip.html.erb
tr8n_client_sdk-4.1.5 app/views/tr8n_client_sdk/tags/_language_strip.html.erb
tr8n_client_sdk-4.1.3 app/views/tr8n_client_sdk/tags/_language_strip.html.erb
tr8n_client_sdk-4.1.1 app/views/tr8n_client_sdk/tags/_language_strip.html.erb
tr8n_client_sdk-4.0.7 app/views/tr8n_client_sdk/tags/_language_strip.html.erb
tr8n_client_sdk-4.0.6 app/views/tr8n_client_sdk/tags/_language_strip.html.erb
tr8n_client_sdk-4.0.2 app/views/tr8n_client_sdk/tags/_language_strip.html.erb
tr8n_client_sdk-4.0.1 app/views/tr8n_client_sdk/tags/_language_strip.html.erb