Sha256: 4cc278654f6e5d54dae44ab36c4913a5c70b278e67f92c1cadb9b752911ec733
Contents?: true
Size: 1.29 KB
Versions: 11
Compression:
Stored size: 1.29 KB
Contents
<% page_title "Administration / Email Messages" %> <% @toolbar_title = "Email Messages" %> <div class="roundedcorners"> <table class="data" width="100%"> <thead> <tr> <th class="first" colspan="2"><div class="dividers">To</div></th> <th style="width: 48%;"><div class="dividers">Subject</div></th> <th class="last" colspan="2" style="width: 20%;"><div class="dividers">Delivered</div></th> </tr> </thead> <tbody> <% @messages.each do |message|%> <tr> <td class="first"></td> <td><div class="dividers"><%= link_to h(truncate(message.recipients)), message %></div></td> <td><div class="dividers"><%= link_to h(truncate(message.subject)), message %></div></td> <td style="white-space: nowrap"><%=h time_on_date(message.delivered_at) %></td> <td class="last"></td> </tr> <% end %> <% if @messages.empty? %> <tr> <td class="first"> </td> <td colspan="3" style="height: 30px; padding-top:10px; letter-spacing: 2px;">No email messages.</td> <td class="last"> </tr> <% end %> </tbody> </table> <div class="tl"></div> <div class="tr"></div> <div class="bl"></div> <div class="br"></div> </div> <% if @messages.total_pages > 1 %> <%= render_pagination @messages, Cms::EmailMessage %> <% end %>
Version data entries
11 entries across 11 versions & 1 rubygems