Sha256: 4bc4574c7ae234bec9f304c63b792e8608d0980973de43a04dde6f87a8b88581
Contents?: true
Size: 1.43 KB
Versions: 11
Compression:
Stored size: 1.43 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> <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> </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
11 entries across 11 versions & 1 rubygems