Sha256: 2eb85ec98c5dee505611f4d0a46b184b71f49b29b8cd8edda137da0cceb108e5
Contents?: true
Size: 1.17 KB
Versions: 15
Compression:
Stored size: 1.17 KB
Contents
<%- @page_title = "GBL♦Admin - Notifications" %> <h1 style="width:100%;"> <%= t('dictionary.notifications') %> <%= link_to('+ Mark All Read', batch_admin_notifications_path(params: {read: 'all'}), {method: 'put', class: "btn btn-primary float-right mr-2"}) %> </h1> <% if @pagy %> <h6> <span class='float-left mt-3'> <%== pagy_info(@pagy) %> </span> <span class='float-right'> <%== pagy_bootstrap_nav(@pagy) %> </span> </h6> <% end %> <table class="table table-striped table-bordered sortable"> <thead class="thead-dark"> <tr> <th class="header">Read</th> <th class="header">Category</th> <th class="header">Message</th> <th class="header">File</th> <th class="header">Date</th> <th class="header">Actions</th> </tr> </thead> <tbody> <% if @notifications.size > 0 %> <%= render @notifications %> <% else %> <tr> <td colspan="6">Zero notifications</td> </tr> <% end %> </tbody> </table> <% if @pagy %> <h6> <span class='float-left mt-3'> <%== pagy_info(@pagy) %> </span> <span class='float-right'> <%== pagy_bootstrap_nav(@pagy) %> </span> </h6> <% end %> <br>
Version data entries
15 entries across 15 versions & 1 rubygems