remove ordering arrows because ugly and useless

This commit is contained in:
Felix Van der Jeugt 2015-09-10 15:00:48 +02:00
parent 7bb2502b6f
commit b51e56ee25
2 changed files with 0 additions and 10 deletions

View file

@ -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]

View file

@ -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")