Sha256: 0e89f6f1eb589c6bf06328d63552d1befb4e206fba83a0860028b0f17285cf20
Contents?: true
Size: 1.11 KB
Versions: 7
Compression:
Stored size: 1.11 KB
Contents
<h1>User Notifications</h1> <%= link_to raw('<i class="icon-trash icon-large"> </i>Delete All'), sufia.delete_all_notifications_path, method: :delete, class: 'btn', title: 'Delete all user notifications' %> <div id="Data"> <table class="table table-striped"> <thead> <tr> <th>Date</th> <th>Subject</th> <th>Message</th> </tr> </thead> <tbody> <% @messages.each do |msg| %> <tr class="<%= cycle("","zebra") %>"> <td><%= time_ago_in_words(msg.last_message.created_at) %> ago </td> <td><%= msg.last_message.subject.html_safe %></td> <td><%= msg.last_message.body.html_safe %></td> <td><%= link_to raw('<i class="icon-trash icon-large"></i>'), sufia.notification_path(msg.id), :class=> 'itemicon itemtrash', :title => 'Delete File', :method => :delete %> </td> </tr> <% end %> </tbody> </table> </div>
Version data entries
7 entries across 7 versions & 1 rubygems