Sha256: 6cbb440f942a2e9f77a9966c83791015b3a48a3d5db6fd1b437e7f141a2b65f0
Contents?: true
Size: 1.28 KB
Versions: 6
Compression:
Stored size: 1.28 KB
Contents
<% if notice.present? %> <div class="notice_wrapper"> <p class="notice"> <%= notice %> </p> </div> <% end %> <header> <div class="header_area"> <div class="header_root_wrapper"> <%= link_to 'ActivityNotification', root_path %> </div> <div class="header_menu_wrapper"> <p> <% if user_signed_in? %> <%= current_user.name %> <%= "(admin)" if current_user.admin? %> <%= link_to 'Logout', destroy_user_session_path, method: :delete %> <% else %> <%= link_to 'Login', new_user_session_path %> <% end %> </p> </div> <div class="header_notification_wrapper"> <% if user_signed_in? %> <%= render_notifications_of current_user, fallback: :default, index_content: :with_attributes %> <%#= render_notifications_of current_user, fallback: :default, index_content: :unopened_with_attributes, reverse: true %> <%#= render_notifications_of current_user, fallback: :default_without_grouping, index_content: :with_attributes, with_group_members: true %> <% end %> </div> <div class="header_menu_wrapper"> <p> <%= link_to 'Preview email', "/rails/mailers" %> <%= " ยท " unless user_signed_in? %> </p> </div> </div> </header>
Version data entries
6 entries across 6 versions & 1 rubygems