Change DOM sort style to match existing style

This commit is contained in:
Julius 2013-07-08 21:51:15 +02:00
parent ff1317b17b
commit bba70dc875
2 changed files with 22 additions and 24 deletions

View file

@ -101,13 +101,10 @@
%table.table.table-hover#stock_articles_for_adding
%thead
%tr
%th
%th.dom-sort-triggerer.default-sort{:data => {'compare-function' => 'compareText', 'sort-criterion' => 'sort-by-name'}}
= t '.article'
%span.sorter-bar.default-sort-asc{:data => {'compare-function' => 'compareText', 'sort-criterion' => 'sort-by-name'}}
%th= t '.price'
%th
= t '.category'
%span.sorter-bar{:data => {'compare-function' => 'compareText', 'sort-criterion' => 'sort-by-category'}}
%th= t '.category'
%th= t '.actions'
%tbody
- for article in stock_articles_for_table(@supplier)
@ -117,9 +114,8 @@
%table.table#stock_changes
%thead
%tr
%th
%th.dom-sort-triggerer.default-sort{:data => {'compare-function' => 'compareText', 'sort-criterion' => 'sort-by-name'}}
= t '.article'
%span.sorter-bar.default-sort-asc{:data => {'compare-function' => 'compareText', 'sort-criterion' => 'sort-by-name'}}
%th= t '.price'
%th= t '.quantity'
%th= t '.actions'