Sha256: c3ade48e4ae9c45d0c5a1d93585e163ee1ee1159752cf26648914f10c1123e2b

Contents?: true

Size: 920 Bytes

Versions: 16

Compression:

Stored size: 920 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><span class="sr-only"><%= t('sufia.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 sufia.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

16 entries across 16 versions & 1 rubygems

Version Path
sufia-7.4.1 app/views/mailbox/_notifications.html.erb
sufia-7.4.0 app/views/mailbox/_notifications.html.erb
sufia-7.3.1 app/views/mailbox/_notifications.html.erb
sufia-7.3.0 app/views/mailbox/_notifications.html.erb
sufia-7.3.0.rc3 app/views/mailbox/_notifications.html.erb
sufia-7.3.0.rc2 app/views/mailbox/_notifications.html.erb
sufia-7.3.0.rc1 app/views/mailbox/_notifications.html.erb
sufia-7.2.0 app/views/mailbox/_notifications.html.erb
sufia-7.1.0 app/views/mailbox/_notifications.html.erb
sufia-7.0.0 app/views/mailbox/_notifications.html.erb
sufia-7.0.0.rc2 app/views/mailbox/_notifications.html.erb
sufia-7.0.0.rc1 app/views/mailbox/_notifications.html.erb
sufia-7.0.0.beta4 app/views/mailbox/_notifications.html.erb
sufia-7.0.0.beta3 app/views/mailbox/_notifications.html.erb
sufia-7.0.0.beta2 app/views/mailbox/_notifications.html.erb
sufia-7.0.0.beta1 app/views/mailbox/_notifications.html.erb