stick arrow with label
This commit is contained in:
parent
924ce114f4
commit
f55c6ee371
2 changed files with 4 additions and 5 deletions
|
@ -46,8 +46,6 @@
|
|||
}
|
||||
|
||||
.notification-col {
|
||||
width: 45px;
|
||||
|
||||
a {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
%th{ class: classname }
|
||||
= link_to update_sort_instructeur_procedure_path(@procedure, table: field['table'], column: field['column']) do
|
||||
= field['label']
|
||||
- if @procedure_presentation.sort['table'] == field['table'] && @procedure_presentation.sort['column'] == field['column']
|
||||
- if @procedure_presentation.sort['order'] == 'asc'
|
||||
%img.caret-icon{ src: image_url("table/up_caret.svg"), width: 10, height: 6, loading: 'lazy' }
|
||||
#{field['label']} ↑
|
||||
- else
|
||||
%img.caret-icon{ src: image_url("table/down_caret.svg"), width: 10, height: 6, loading: 'lazy' }
|
||||
#{field['label']} ↓
|
||||
- else
|
||||
#{field['label']}
|
||||
|
|
Loading…
Reference in a new issue