% application_name = params[:application_name] %>
Apple Push Service Notifications scheduled for <%= application_name %>
Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <%=size = resque.aps_notification_count_for_application(application_name)%> notifications
Payload |
<% notifications = resque.aps_notifications_for_application(application_name, start, 20) %>
<% notifications.each do |notification| %>
<%=h notification.to_s %> |
<% end %>
<% if notifications.empty? %>
There are no pending notifications scheduled for this application. |
<% end %>
<%= partial :next_more, :start => start, :size => size %>