Sha256: 21fa1be3eacff1d579cffa3b167b5ad9afcbfbb01180eb2e7302bdc978604309
Contents?: true
Size: 1.71 KB
Versions: 7
Compression:
Stored size: 1.71 KB
Contents
<div id="div_category_<%= category.id %>" class="col-lg-2 col-md-3 col-sm-6 col-xs-6"> <div style="text-align: center;border: 1px solid #f1f1f1;padding:10px;margin-bottom:15px;"> <div style="height:200px;"> <i class="<%= Feature::FEATURE_ICONS[category.category_type] %>" style="font-size:60px;padding:20px;"></i><br> <% if category.end_node? %> <%= content_tag :span, category.display_name, style: ";font-size:14px;" %><br> <%= content_tag :span, category.display_category_type, style: "color: #ffba00;" %><br> <%= display_publishable_status(category) %> <% else %> <%= link_to raw("<i class=\"fa fa-caret-right\"></i> #{category.display_name}"), categories_path(parent_id: category.id, category_type: @category_type), remote: true, style: "font-weight:bold;font-size:14px;" %><br> <%= content_tag :span, category.display_category_type, style: "color: #cc3f44;" %><br> <%= display_publishable_status(category) %> <% end %><br> </div> <% if display_manage_links? %> <div style="width: 90%;border: 1px solid #e0e0e0;margin:5%;"> <%#= display_publishable_links(category) %> <%= link_to raw("<i class=\"fa-eye mr-5\"></i>"), category_path(category), :remote=>true, style: "color:#373e4a" %> <% if @current_user.has_create_permission?(Dhatu::Category) %> <%= link_to raw("<i class='fa-plus mr-5'></i>"), new_category_path(parent_id: category.try(:id),category_type: category.category_type, ft: @feature.try(:id)), class: "", remote: true, style: "color: #8dc63f" %> <% end %> <%= display_manage_links(category, @current_user, edit_text: "", delete_text: "") %> </div> <% end %> </div> </div>
Version data entries
7 entries across 7 versions & 1 rubygems