Sha256: 491dc8f232bdf76a82a77b1c338b7134a9e16275906d69965f312018c176189a
Contents?: true
Size: 865 Bytes
Versions: 20
Compression:
Stored size: 865 Bytes
Contents
<table class="table table-striped"> <thead> <tr> <th><%= t('sufia.mailbox.date') %></th> <th><%= t('sufia.mailbox.subject') %></th> <th><%= t('sufia.mailbox.message') %></th> <th class="sr-only"><%= t('sufia.mailbox.delete') %></th> </tr> </thead> <tbody> <% messages.each do |msg| %> <%= content_tag :tr, class: cycle("","zebra") do %> <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="glyphicon glyphicon-trash" aria-hidden="true"></i>'), sufia.notification_path(msg.id), class: "itemicon itemtrash", title: "Delete Message", method: :delete %> </td> <% end %> <% end %> </tbody> </table>
Version data entries
20 entries across 20 versions & 1 rubygems