remove ordering arrows because ugly and useless
This commit is contained in:
parent
7bb2502b6f
commit
b51e56ee25
2 changed files with 0 additions and 10 deletions
|
@ -2,4 +2,3 @@
|
|||
- grid.html_columns(*options[:columns]).each do |column|
|
||||
%th{:class => "#{datagrid_column_classes(grid, column)}"}
|
||||
= column.header
|
||||
= datagrid_order_for(grid, column, options) if column.supports_order? && options[:order]
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
.order
|
||||
= link_to( |
|
||||
I18n.t("datagrid.table.order.asc").html_safe, |
|
||||
url_for(grid.param_name => grid.as_query.merge(:order => column.name, :descending => false)), |
|
||||
:class => "asc")
|
||||
= link_to( |
|
||||
I18n.t("datagrid.table.order.desc").html_safe, |
|
||||
url_for(grid.param_name => grid.as_query.merge(:order => column.name, :descending => true )), |
|
||||
:class => "desc")
|
Loading…
Reference in a new issue