Sha256: a1825fe43f84e85c931b46df57472066b82867e5a9ae568b8d9a22a20feea69f

Contents?: true

Size: 1.43 KB

Versions: 7

Compression:

Stored size: 1.43 KB

Contents

<tr id="tr_category_<%= category.id %>">
          
  <th scope="row" style="text-align: center;">
    <% if i < 0 %>
      <i class="fa fa-check text-success"></i>
    <% else %>
      <%= i + 1 + (@per_page.to_i * (@current_page.to_i - 1)) %>
    <% end %>
  </th>
  
  <% if category.end_node? %>
    <td class="category-name">
      <%= link_to category.display_name, "#", remote: true, style: ";font-size:14px;" %> - <%= category.display_category_type %><br>
      <%= display_publishable_status(category) %>
      <div class="badge">Priority: <%= category.priority %></div>
    </td>
  <% else %>
    <td class="category-name">
      <%= 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;" %> - <%= category.display_category_type %><br>
      <%= display_publishable_status(category) %>
      <div class="badge">Priority: <%= category.priority %></div>
    </td>
  <% end %>

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

  <td class="action-links hidden-sm hidden-xs" style="width:10%">
    <%= link_to raw("<i class=\"linecons-desktop\"></i> View Details"), category_path(category), :remote=>true, style: "color:#40bbea" %>
    <%= display_manage_links(category, @current_user) %>
  </td>
  <% end %>

</tr>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dhatu-0.2.0 app/views/dhatu/categories/_row_list.html.erb
dhatu-0.1.25 app/views/dhatu/categories/_row_list.html.erb
dhatu-0.1.24 app/views/dhatu/categories/_row_list.html.erb
dhatu-0.1.23 app/views/dhatu/categories/_row_list.html.erb
dhatu-0.1.22 app/views/dhatu/categories/_row_list.html.erb
dhatu-0.1.21 app/views/dhatu/categories/_row_list.html.erb
dhatu-0.1.20 app/views/dhatu/categories/_row_list.html.erb