Link is added to the sidebar title to directly go to the region's organisations
Refs #123
This commit is contained in:
parent
bef9773d55
commit
ab3c2e4c53
@ -17,9 +17,10 @@
|
|||||||
- if controller.controller_name == 'events' && controller.action_name == 'show'
|
- if controller.controller_name == 'events' && controller.action_name == 'show'
|
||||||
%aside#orga-list
|
%aside#orga-list
|
||||||
- if @event.region.present? && @event.region.orgas.present?
|
- if @event.region.present? && @event.region.orgas.present?
|
||||||
%h1
|
%h1{ title: @event.region }
|
||||||
%em.fa.fa-users
|
= link_to orgas_path region: @event.region do
|
||||||
= t '.orga-list'
|
%em.fa.fa-users
|
||||||
|
= t '.orga-list'
|
||||||
%ul.fa-ul
|
%ul.fa-ul
|
||||||
- @event.region.orgas.select(&:active).each do |orga|
|
- @event.region.orgas.select(&:active).each do |orga|
|
||||||
%li
|
%li
|
||||||
|
Loading…
Reference in New Issue
Block a user