Add sorting links to table headers with proper styling [#2931]
This commit is contained in:
committed by
Javi Martín
parent
90a66239a5
commit
ea3319ae6f
@@ -215,6 +215,10 @@ $sidebar-active: #f4fcd0;
|
||||
|
||||
thead {
|
||||
color: #fff;
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
th {
|
||||
|
||||
@@ -35,9 +35,9 @@
|
||||
<table class="table-for-mobile">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><%= t("admin.budget_investments.index.list.id") %></th>
|
||||
<th class="small-3"><%= t("admin.budget_investments.index.list.title") %></th>
|
||||
<th><%= t("admin.budget_investments.index.list.supports") %></th>
|
||||
<th><%= link_to t("admin.budget_investments.index.list.id"), admin_budget_budget_investments_path(sort_by: "id") %></th>
|
||||
<th class="small-3"><%= link_to t("admin.budget_investments.index.list.title"), admin_budget_budget_investments_path(sort_by: "title") %></th>
|
||||
<th><%= link_to t("admin.budget_investments.index.list.supports"), admin_budget_budget_investments_path(sort_by: "supports") %></th>
|
||||
<th><%= t("admin.budget_investments.index.list.admin") %></th>
|
||||
<th>
|
||||
<%= t("admin.budget_investments.index.list.valuation_group") %>
|
||||
|
||||
Reference in New Issue
Block a user