Sha256: 016b1998c1ef69b41515dbee27db69fb90e898487caf946f4b769f63f77e7555
Contents?: true
Size: 1.46 KB
Versions: 2
Compression:
Stored size: 1.46 KB
Contents
<div class="notification_wrapper"> <div class="notification_header"> <h1>Notifications to <%= @target.printable_target_name %> <%= link_to open_all_notifications_path_for(@target, @index_options), method: :post, remote: true do %><span class="notification_count"><span class="<%= 'unopened' if @target.has_unopened_notifications?(@index_options) %>"><%= @target.unopened_notification_count(@index_options) %></span></span><% end %></h1> </div> <ul> <div class="notifications"> <% if @index_options[:with_group_members] %> <%= render_notification @notifications, fallback: :default_without_grouping, with_group_members: true %> <% else %> <%= render_notification @notifications, fallback: :default %> <%#= render_notification @notifications, fallback: :text %> <% end %> </div> </ul> </div> <%#= render_notifications_of @target, fallback: :default, index_content: :with_attributes %> <%#= render_notifications_of @target, fallback: :default, index_content: :unopened_with_attributes, reverse: true %> <%#= render_notifications_of @target, fallback: :default_without_grouping, index_content: :with_attributes, with_group_members: true %> <style> .notification_wrapper .notification_header h1 span span{ color: #fff; background-color: #e5e5e5; border-radius: 4px; font-size: 12px; padding: 4px 8px; } .notification_wrapper .notification_header h1 span span.unopened{ background-color: #f87880; } </style>
Version data entries
2 entries across 2 versions & 1 rubygems