|
|
|
@ -33,21 +33,21 @@ See COPYRIGHT and LICENSE files for more details. |
|
|
|
|
<table class="generic-table" <%= table_id ? "id=\"#{table_id}\"" : '' %>> |
|
|
|
|
<colgroup> |
|
|
|
|
<% headers.each do |_name, _options| %> |
|
|
|
|
<col opHighlightCol> |
|
|
|
|
<col <%= "opHighlightCol" unless _name == :hierarchy %> > |
|
|
|
|
<% end %> |
|
|
|
|
<col> |
|
|
|
|
<col opHighlightCol> |
|
|
|
|
</colgroup> |
|
|
|
|
<thead class="-sticky"> |
|
|
|
|
<tr> |
|
|
|
|
<% headers.each do |name, options| %> |
|
|
|
|
<% if name == :hierarchy %> |
|
|
|
|
<th id="project-table--hierarchy-header"> |
|
|
|
|
<div class="generic-table--sort-header-outer"> |
|
|
|
|
<div class="generic-table--sort-header-outer generic-table--sort-header-outer_no-highlighting"> |
|
|
|
|
<div class="generic-table--sort-header"> |
|
|
|
|
<%= content_tag :a, |
|
|
|
|
op_icon("icon-hierarchy"), |
|
|
|
|
href: href_only_when_not_sort_lft, |
|
|
|
|
class: deactivate_class_on_lft_sort, |
|
|
|
|
class: "op-link #{deactivate_class_on_lft_sort}", |
|
|
|
|
title: t(:label_sort_by, value: %("#{t(:label_project_hierarchy)}")) %> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|