Sha256: e7e882f90d5bebd14b442618136b85ea5753e8c49259cf6f45ff6d4f0f6132bd
Contents?: true
Size: 1.33 KB
Versions: 14
Compression:
Stored size: 1.33 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', :alt => t('activerecord.models.message')), messages_path %> <% if current_user.received_messages.unread.size > 0 %> <%= link_to "(#{h(current_user.received_messages.unread.size)})", messages_path %> <% else %> (<%= current_user.received_messages.unread.size %>) <% 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
14 entries across 14 versions & 1 rubygems