app/views/dhatu/promotion_attributes/_index.html.erb in dhatu-0.1.19 vs app/views/dhatu/promotion_attributes/_index.html.erb in dhatu-0.1.20
- old
+ new
@@ -5,14 +5,11 @@
<table class="table table-hover members-table middle-align">
<thead>
<tr>
<th style="text-align: center;width:60px">#</th>
<th style="width:200px;">Name</th>
- <th style="width:200px;">Data Type</th>
<th style="text-align: center;">Values</th>
- <th style="width:80px;">Status</th>
- <th style="width:80px;">Priority</th>
<th style="text-align: center;" colspan="2">Actions</th>
</tr>
</thead>
<tbody>
<% @promotion_attributes = @promotion.promotion_attributes.page(@current_page).per(@per_page) %>
@@ -29,20 +26,17 @@
</th>
<td class="promotion_attribute-name">
<strong><%= link_to promotion_attribute.name, promotion_attribute_path(promotion_attribute), remote: true %></strong><br>
<%= content_tag :span, promotion_attribute.display_data_type, style: "color:chocolate;" %><br>
+ <%= display_publishable_status(promotion_attribute) %>
</td>
<td style="text-align: center;">
<% promotion_attribute.values.each do |v| %>
<span class="ml-5 label label-info"><%= v %></span>
<% end %>
</td>
-
- <td class="hidden-sm hidden-xs"><%= display_publishable_status(promotion_attribute) %></td>
-
- <td class="hidden-sm hidden-xs"><%= promotion_attribute.priority %></td>
<% if display_manage_links? %>
<td class="action-links hidden-sm hidden-xs" style="width:10%">
<%= display_publishable_links(promotion_attribute) %>
</td>