Sha256: 84ce5827d4ecb64c177ff6a7c431de2631dd4beb00feee1ce248cbb4691459ba
Contents?: true
Size: 1.39 KB
Versions: 10
Compression:
Stored size: 1.39 KB
Contents
<% if @draft %> <h1> SMS Draft Outbounds</h1> <%= render :partial => 'admin/sms_on_rails/drafts/show.html.erb' %> <% end %> <h2>SMS Outbounds</h2> <table> <tr> <th class="short">Id</th> <th>Phone number</th> <th>Status</th> <th class="long">Message</th> <th>Procesed on</th> <th>Sms service provider</th> <th>Sub status</th> </tr> <% staggered_table_rows(@outbounds) do |outbound| %> <td><%=h outbound.id %></td> <td><%= link_to_sms_phone_number(outbound.phone_number) %></td> <td><%=h outbound.status %></td> <td><%= link_to_sms_draft(outbound.draft, outbound.actual_message) %></td> <td><%=h outbound.processed_on %></td> <td><%=h outbound.sms_service_provider_name %></td> <td><%=h outbound.sub_status %></td> <td><%= link_to('Send', :action => :deliver_sms, :id => outbound.to_param) unless outbound.delivered? %></td> <td><%= link_to 'Show', sms_draft_outbound_path(@draft, outbound) %></td> <td><%= link_to 'Edit', edit_sms_draft_outbound_path(@draft, outbound) %></td> <td><%= link_to 'Destroy', sms_draft_outbound_path(@draft, outbound), :confirm => 'Are you sure?', :method => :delete %></td> <% end %> </table> <br /> <% if @draft %> <%= link_to 'New outbound', new_sms_draft_outbound_path(@draft) %> | <%= link_to 'Edit Draft', edit_sms_draft_path(@draft) %> | <%= link_to 'List of Drafts', sms_drafts_path %> <% end %>
Version data entries
10 entries across 10 versions & 3 rubygems