diff options
author | Go MAEDA <maeda@farend.jp> | 2019-05-30 07:37:24 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-05-30 07:37:24 +0000 |
commit | 7aa642ad7acbf40083b4e870acf8aa71d27eb0e9 (patch) | |
tree | 28534c3f9b9b7edcd194e9fbdb809984dcc65716 /app | |
parent | 53e2cf16bbacdda894ead120f755b147c7954ae0 (diff) | |
download | redmine-7aa642ad7acbf40083b4e870acf8aa71d27eb0e9.tar.gz redmine-7aa642ad7acbf40083b4e870acf8aa71d27eb0e9.zip |
Use "icon icon-*" classes for sort elements (#31433).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18210 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/queries_helper.rb | 4 | ||||
-rw-r--r-- | app/helpers/sort_helper.rb | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index b2c374e94..e08dd3003 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -171,10 +171,10 @@ module QueriesHelper css, order = nil, column.default_order if column.name.to_s == query.sort_criteria.first_key if query.sort_criteria.first_asc? - css = 'sort asc' + css = 'sort asc icon icon-sorted-desc' order = 'desc' else - css = 'sort desc' + css = 'sort desc icon icon-sorted-asc' order = 'asc' end end diff --git a/app/helpers/sort_helper.rb b/app/helpers/sort_helper.rb index e2afb1c22..ab0065993 100644 --- a/app/helpers/sort_helper.rb +++ b/app/helpers/sort_helper.rb @@ -160,4 +160,3 @@ module SortHelper end end end - |