Sha256: ba60a97b9c16726e9219154c2c99e0c4182aa622c98fdb4fa97147f38c67c32b

Contents?: true

Size: 578 Bytes

Versions: 15

Compression:

Stored size: 578 Bytes

Contents

<ul class="<%=opts[:class]%>" style="<%=opts[:style]%>">
<% if !Tr8n::Config.current_user or Tr8n::Config.current_user.guest? %>
  <li><%=link_to(trl("Login", "Translator login link"), "/tr8n/login")%></li>
<% else %>
  <li><%=tr("Welcome {user}!", "", :user => [Tr8n::Config.current_user, :name]) %></li>
  <li><%=link_to(trl("Logout", "Translator logout link"), "/tr8n/login/out")%></li>
<% end %>
<% if Tr8n::Config.enabled? and (Tr8n::Config.open_registration_mode? or Tr8n::Config.current_user_is_translator?) %>
  <li><%= tr8n_language_selector_tag %></li>
<% end %>
</ul>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tr8n-3.2.3 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.2.2 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.2.1 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.2.0 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.1.8 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.1.7 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.1.6 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.1.5 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.1.4 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.1.3 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.1.2 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.1.1 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.0.5 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.0.3 app/views/tr8n/common/_translator_login.html.erb
tr8n-3.0.2 app/views/tr8n/common/_translator_login.html.erb