Change DOM sort style to match existing style
This commit is contained in:
parent
ff1317b17b
commit
bba70dc875
2 changed files with 22 additions and 24 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue