Sha256: 05d3c7bfefd76d1f909d03c80cc384199befadb52044ea23e620a07802ce9807
Contents?: true
Size: 1.72 KB
Versions: 5
Compression:
Stored size: 1.72 KB
Contents
<div class="table-responsive"> <table class="table table-hover members-table middle-align"> <thead> <tr> <th style="text-align: center;width:8%">#</th> <th>Name</th> <th>Email</th> <th>Phone</th> <!-- <th style="width:100px;" class="hidden-sm hidden-xs">Status</th> --> <% if display_manage_links? %> <th style="text-align: center;" class="" >Actions</th> <% end %> </tr> </thead> <tbody> <tr id="tr_promotion_enquiry_0"></tr> <% @promotion_enquiries.each_with_index do |promotion_enquiry, i| %> <tr id="tr_promotion_enquiry_<%= promotion_enquiry.id %>"> <th scope="row" style="text-align: center;"> <%= serial_number(i) %> </th> <td class="display-link"> <% if promotion_enquiry.new? || promotion_enquiry.unread? %> <%= link_to promotion_enquiry.name, promotion_enquiry_path(promotion_enquiry), remote: true, style: "font-weight:800;" %><br> <% else %> <%= link_to promotion_enquiry.name, promotion_enquiry_path(promotion_enquiry), remote: true %> <% end %> <%= display_readable_status(promotion_enquiry) %><br> <%= link_to time_ago_in_words(promotion_enquiry.created_at) + " ago", promotion_enquiry_path(promotion_enquiry), remote: true, style: "color:darkred;font-size:10px;" %> </td> <td class=""><%= promotion_enquiry.email %></td> <td class=""><%= promotion_enquiry.phone %></td> <% if display_manage_links? %> <td class="action-links" style="width:15%"><%= display_readable_links(promotion_enquiry) %></td> <% end %> </tr> <% end %> </tbody> </table> </div> <div class="row"> <div class="col-sm-12"> <%= paginate_kuppayam(@promotion_enquiries) %> </div> </div>
Version data entries
5 entries across 5 versions & 1 rubygems