Sha256: 84cfbef541d2179e3f81c720d9a59225de85f06cabeaa76f29818d671c06003d
Contents?: true
Size: 1.29 KB
Versions: 3
Compression:
Stored size: 1.29 KB
Contents
<div class="header_and_footer"> <div id="header_left"> <div id="library_system_name"> <h1 class="resource_title"><%= link_to LibraryGroup.system_name(@locale), root_path, title: LibraryGroup.system_name(@locale) %></h1> </div> <div id="header_micro_advertisement"></div> </div> <div id="header_center"></div> <div id="header_right"> <div id="user_account"> <% if user_signed_in? %> <%= t('page.logged_in_as', login_name: current_user.username) -%> <br /> <% if defined?(EnjuMessage) %> <%= link_to image_tag('icons/email.png', size: '16x16', class: 'enju_icon', alt: t('activerecord.models.message')), messages_path %> <% if messages_count(current_user) > 0 %> <%= link_to "(#{messages_count(current_user)})", messages_path %> <% else %> (<%= messages_count(current_user) %>) <% end %> <% end %> <%= link_to t('page.account'), my_account_path -%> <%= link_to t('page.sign_out'), destroy_user_session_path, method: :delete -%> <br /> <% else %> <% unless controller_name == 'sessions' %> <%= link_to t('page.sign_in'), new_user_session_path -%> <% end %> <% end %> </div> <%= render 'page/select_locale' -%> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enju_leaf-1.2.1 | app/views/page/_header.html.erb |
enju_leaf-1.2.0 | app/views/page/_header.html.erb |
enju_leaf-1.2.0.beta.4 | app/views/page/_header.html.erb |