Sha256: fbb1df1a3c05f8fd9ad874dd95ff9482fbfa4edc986e44d7955830ddcd7de501

Contents?: true

Size: 1.64 KB

Versions: 20

Compression:

Stored size: 1.64 KB

Contents

<table class="table table-hover members-table middle-align">
  <thead> 
		<tr> 
			<th class="hidden-sm hidden-xs" style="text-align: center;width:5%">#</th> 
			<th style="text-align: center;width:100px"><i class="fa fa-photo"></i></th> 
			<th>Promotion</th>
			<% if display_manage_links? %>
			<th style="text-align: center;" colspan="2" class="hidden-sm hidden-xs">Actions</th>
			<% end %>
		</tr> 
	</thead>
  <tbody>
  	<tr id="tr_promotion_0"></tr>
  	<% @promotions.each_with_index do |promotion, i| %>
  		<tr id="tr_promotion_<%= promotion.id %>">

				<th scope="row" class="hidden-sm hidden-xs" style="text-align: center;">
					<%= serial_number(i) %>
				</th>

				<td class="display-image">
					<%= display_thumbnail(promotion) %>
				</td>

				<td class="display-link">
					<%= link_to promotion.title, promotion_path(promotion), remote: true, style: "color:chocolate;font-size:16px;" %><br>
					<p class="hidden-sm hidden-xs">
						<%= link_to truncate(promotion.short_description, length: 100), promotion_path(promotion), remote: true %>
					</p>
					<%= display_featured(promotion) %>
					<%= display_publishable_status(promotion) %>
				</td>

				<% if display_manage_links? %>
	      <td class="action-links hidden-sm hidden-xs" style="width:10%"><%= display_publishable_links(promotion) %></td>

	      <td class="action-links hidden-sm hidden-xs" style="width:10%">
					<%= display_featurable_links(promotion) %>
					<%= display_manage_links(promotion, @current_user) %>
				</td>
				<% end %>

	    </tr>
	  <% end %>
  </tbody>
</table>

<div class="row">
  <div class="col-sm-12">
    <%= paginate_kuppayam(@promotions) %>
  </div>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
dhatu-0.3.9.pre.materialize app/views/dhatu/promotions/_index.html.erb
dhatu-0.3.8.pre.materialize app/views/dhatu/promotions/_index.html.erb
dhatu-0.3.7.pre.materialize app/views/dhatu/promotions/_index.html.erb
dhatu-0.3.6.pre.materialize app/views/dhatu/promotions/_index.html.erb
dhatu-0.3.5.pre.materialize app/views/dhatu/promotions/_index.html.erb
dhatu-0.3.4.pre.materialize app/views/dhatu/promotions/_index.html.erb
dhatu-0.3.3.pre.materialize app/views/dhatu/promotions/_index.html.erb
dhatu-0.3.2.pre.materialize app/views/dhatu/promotions/_index.html.erb
dhatu-0.3.1.pre.materialize app/views/dhatu/promotions/_index.html.erb
dhatu-0.3.0.pre.materialize app/views/dhatu/promotions/_index.html.erb
dhatu-0.2.3 app/views/dhatu/promotions/_index.html.erb
dhatu-0.2.2 app/views/dhatu/promotions/_index.html.erb
dhatu-0.2.1 app/views/dhatu/promotions/_index.html.erb
dhatu-0.2.0 app/views/dhatu/promotions/_index.html.erb
dhatu-0.1.25 app/views/dhatu/promotions/_index.html.erb
dhatu-0.1.24 app/views/dhatu/promotions/_index.html.erb
dhatu-0.1.23 app/views/dhatu/promotions/_index.html.erb
dhatu-0.1.22 app/views/dhatu/promotions/_index.html.erb
dhatu-0.1.21 app/views/dhatu/promotions/_index.html.erb
dhatu-0.1.20 app/views/dhatu/promotions/_index.html.erb