Sha256: 3038d2a1842418b6aca52433e473572b7a86a121eb454ee75faf25d760f760e3
Contents?: true
Size: 1.78 KB
Versions: 20
Compression:
Stored size: 1.78 KB
Contents
<div class="table-responsive1"> <table class="table table-hover members-table middle-align"> <thead> <tr> <th style="text-align: center;width:8%" class="hidden-sm hidden-xs">#</th> <th>Enquiry</th> <th class="hidden-sm hidden-xs">Promotion</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;" class="hidden-sm hidden-xs"> <%= 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 %> <%= content_tag(:div, promotion_enquiry.email) if promotion_enquiry.email %> <%= content_tag(:div, promotion_enquiry.phone) if promotion_enquiry.phone %> </td> <td class="hidden-sm hidden-xs"> <%= content_tag(:div, promotion_enquiry.promotion.title, style: "color: chocolate") if promotion_enquiry.promotion %> <%= time_ago_in_words(promotion_enquiry.created_at) + " ago" %> </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
20 entries across 20 versions & 1 rubygems