Sha256: f05fcf76eb5998c3efa6a64b549a4347f517ee2e04412b09d51babdb1489551c

Contents?: true

Size: 920 Bytes

Versions: 10

Compression:

Stored size: 920 Bytes

Contents

<table class="table table-striped"> 
  <thead> 
    <tr>
      <th><%= t('hyrax.mailbox.date') %></th>
      <th><%= t('hyrax.mailbox.subject') %></th>
      <th><%= t('hyrax.mailbox.message') %></th>
      <th><span class="sr-only"><%= t('hyrax.mailbox.delete') %></span></th>
    </tr>
  </thead> 
  <tbody> 
    <% messages.each do |msg| %> 
      <tr>
        <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 hyrax.notification_path(msg.id),
                      class: "itemicon itemtrash",
                      title: "Delete Message",
                      method: :delete do %>
            <i class="glyphicon glyphicon-trash" aria-hidden="true"></i>
          <% end %>
        </td>
      </tr>
    <% end %> 
  </tbody> 
</table>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/views/hyrax/mailbox/_notifications.html.erb
hyrax-1.1.0 app/views/hyrax/mailbox/_notifications.html.erb
hyrax-1.0.5 app/views/hyrax/mailbox/_notifications.html.erb
hyrax-1.0.4 app/views/hyrax/mailbox/_notifications.html.erb
hyrax-1.0.3 app/views/hyrax/mailbox/_notifications.html.erb
hyrax-1.0.2 app/views/hyrax/mailbox/_notifications.html.erb
hyrax-1.0.1 app/views/hyrax/mailbox/_notifications.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/mailbox/_notifications.html.erb
hyrax-1.0.0.rc1 app/views/hyrax/mailbox/_notifications.html.erb
test_hyrax-0.0.1.alpha app/views/hyrax/mailbox/_notifications.html.erb