Link is added to the sidebar title to directly go to the region's organisations

Refs #123
This commit is contained in:
echarp 2018-04-08 19:34:44 +02:00
parent bef9773d55
commit ab3c2e4c53

View File

@ -17,7 +17,8 @@
- 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 }
= link_to orgas_path region: @event.region do
%em.fa.fa-users %em.fa.fa-users
= t '.orga-list' = t '.orga-list'
%ul.fa-ul %ul.fa-ul