Sha256: 73fefbaefc2d43d22741c4ec0521d1431dec485da6335731bcbea272696fd5eb
Contents?: true
Size: 1.79 KB
Versions: 5
Compression:
Stored size: 1.79 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, devise_default_routes: respond_to?('notifications_path') %> <%#= render_notifications_of current_user, fallback: :default, index_content: :unopened_with_attributes, reverse: true %> <%#= render_notifications_of current_user, fallback: :default, index_content: :with_attributes, as_latest_group_member: true %> <%#= render_notifications_of current_user, fallback: :default_without_grouping, index_content: :with_attributes, with_group_members: true %> <% end %> </div> <% if user_signed_in? and current_user.admin? and respond_to?('admins_notifications_path') %> <div class="header_menu_wrapper"> <p> <%= link_to "Admin notifications", admins_notifications_path %> / <%= link_to "subscriptions", admins_subscriptions_path %> </p> </div> <% end %> <div class="header_menu_wrapper"> <p> <%= link_to 'Preview email', "/rails/mailers" %> <%= " ยท " unless user_signed_in? %> </p> </div> </div> </header>
Version data entries
5 entries across 5 versions & 1 rubygems