Moved orga flag after its region
This commit is contained in:
parent
921c891de2
commit
7793de5e34
|
@ -1,5 +1,4 @@
|
|||
%tr{ class: orga.active ? 'active' : 'inactive' }
|
||||
%td.flag= flag_icon orga.region.flag
|
||||
%td.kind
|
||||
- if orga.kind
|
||||
%em.fa{ class: "fa-#{orga.kind.icon}",
|
||||
|
@ -9,6 +8,7 @@
|
|||
= render partial: '/orgas/favicon', locals: { orga: orga }
|
||||
%td.city= orga.city
|
||||
%td.region= orga.region
|
||||
%td.flag= flag_icon orga.region.flag
|
||||
%td.updated_at
|
||||
- if orga.updated_at.present?
|
||||
= l orga.updated_at.to_date
|
||||
|
|
|
@ -8,10 +8,9 @@
|
|||
|
||||
%table.list.autopagerize_page_element
|
||||
%thead
|
||||
%th.flag
|
||||
%th.name(colspan='2')= sort_link @search, :name
|
||||
%th.city= sort_link @search, :city
|
||||
%th.region= sort_link @search,
|
||||
%th.region(colspan='2')= sort_link @search,
|
||||
:region_name, Orga.human_attribute_name(:region)
|
||||
%th.updated_at= sort_link @search, :updated_at
|
||||
|
||||
|
|
Loading…
Reference in New Issue