Sha256: 86dea76d25f3053c7301f7c91df8a9ecd7950a2013bacb7c5b9d79763c210c6e

Contents?: true

Size: 1018 Bytes

Versions: 1

Compression:

Stored size: 1018 Bytes

Contents

<h1>User Notifications</h1>
<%= link_to raw('<i class="icon-trash icon-large">&nbsp;</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>Subject</th> 
                <th>Message</th> 
            </tr> 
        </thead> 
        <tbody> 
            <% @messages.each do |msg| %> 
                <tr class="<%= cycle("","zebra") %>"> 
                   <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

1 entries across 1 versions & 1 rubygems

Version Path
sufia-3.5.0 app/views/mailbox/index.html.erb