add icon title
This commit is contained in:
parent
4ee22611a6
commit
05ad8c27dd
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
<!-- menu -->
|
<!-- menu -->
|
||||||
<li id="orbit-start" class="dropdown">
|
<li id="orbit-start" class="dropdown">
|
||||||
<a class="orbitlogo" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown"></a>
|
<a class="orbitlogo" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown" title="<%= t('dashboard_')%>"></a>
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="orbit-start">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="orbit-start">
|
||||||
<li><%= link_to content_tag(:i, nil, :class => 'icons-gauge') + ' ' + t(:dashboard_), admin_dashboards_path, tabindex: '-1' %></li>
|
<li><%= link_to content_tag(:i, nil, :class => 'icons-gauge') + ' ' + t(:dashboard_), admin_dashboards_path, tabindex: '-1' %></li>
|
||||||
<li><%= link_to content_tag(:i, nil, :class => 'icons-users') + ' ' + t(:member_), admin_users_new_interface_index_path, tabindex: '-1' %></li>
|
<li><%= link_to content_tag(:i, nil, :class => 'icons-users') + ' ' + t(:member_), admin_users_new_interface_index_path, tabindex: '-1' %></li>
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
<!-- home -->
|
<!-- home -->
|
||||||
<li id="orbit-home">
|
<li id="orbit-home">
|
||||||
<a href="<%= root_path %>" role="button">
|
<a href="<%= root_path %>" role="button" title="<%= t('homepage')%>">
|
||||||
<i class="icons-house"></i> <span class="hide"><%= t(:homepage) %></span>
|
<i class="icons-house"></i> <span class="hide"><%= t(:homepage) %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
<!-- Desktop -->
|
<!-- Desktop -->
|
||||||
<% if @site.desktop_closed%>
|
<% if @site.desktop_closed%>
|
||||||
<li id="orbit-desktop">
|
<li id="orbit-desktop">
|
||||||
<a href="<%= desktop_path %>" role="button">
|
<a href="<%= desktop_path %>" role="button" title="<%= t('desktop')%>">
|
||||||
<i class="icons-screen"></i> <span class="hide"><%= t(:desktop) %></span>
|
<i class="icons-screen"></i> <span class="hide"><%= t(:desktop) %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
<!-- Language -->
|
<!-- Language -->
|
||||||
<li id="orbit-language" class="dropdown">
|
<li id="orbit-language" class="dropdown">
|
||||||
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown"><%= t(:_locale, :locale => I18n.locale) %></a>
|
<a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown" title="<%= t('site.language')%>"><%= t(:_locale, :locale => I18n.locale) %></a>
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="orbit-language">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="orbit-language">
|
||||||
<% @site_in_use_locales.each do |locale| %>
|
<% @site_in_use_locales.each do |locale| %>
|
||||||
<%= content_tag :li, (link_to t(:_locale, :locale => locale), add_locale(remove_locale((@referer || request.fullpath)), locale)), :class => (I18n.locale.eql?(locale.to_sym) ? 'active' : nil), tabindex: "-1" %>
|
<%= content_tag :li, (link_to t(:_locale, :locale => locale), add_locale(remove_locale((@referer || request.fullpath)), locale)), :class => (I18n.locale.eql?(locale.to_sym) ? 'active' : nil), tabindex: "-1" %>
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
<% else %>
|
<% else %>
|
||||||
<!-- login -->
|
<!-- login -->
|
||||||
<li id="orbit-login">
|
<li id="orbit-login">
|
||||||
<a href="#login" role="button" data-toggle="modal">
|
<a href="#login" role="button" data-toggle="modal" title="<%= t('login')%>">
|
||||||
<i class="icons-login"></i> <span class="hide"><%= t(:login) %></span>
|
<i class="icons-login"></i> <span class="hide"><%= t(:login) %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue