2018-01-05 22:39:29 +01:00
|
|
|
%aside
|
2018-10-01 14:30:27 +02:00
|
|
|
%h2
|
2018-01-05 22:39:29 +01:00
|
|
|
%em.fa.fa-link
|
|
|
|
= t '.links'
|
|
|
|
|
|
|
|
%ul.fa-ul
|
|
|
|
%li
|
2018-10-01 14:30:27 +02:00
|
|
|
= link_to orgas_path q: params[:q], page: params[:page] do
|
2018-01-05 22:39:29 +01:00
|
|
|
%em.fa.fa-li.fa-arrow-left
|
|
|
|
= Orga.model_name.human.pluralize
|
|
|
|
%li
|
|
|
|
= link_to tag_path @orga.name_as_tag do
|
|
|
|
%em.fa.fa-li.fa-tag
|
|
|
|
= Event.model_name.human.pluralize
|
|
|
|
%li
|
|
|
|
= link_to events_path tag: @orga.name_as_tag do
|
|
|
|
%em.fa.fa-li.fa-calendar
|
|
|
|
Agenda
|
|
|
|
%li
|
|
|
|
= link_to events_path format: :rss, tag: @orga.name_as_tag do
|
|
|
|
%em.fa.fa-li.fa-rss
|
|
|
|
RSS
|
|
|
|
%li
|
|
|
|
= link_to events_path format: :ics, tag: @orga.name_as_tag do
|
|
|
|
%em.fa.fa-li.fa-th-list
|
|
|
|
iCal
|
|
|
|
%li
|
|
|
|
= link_to maps_path tag: @orga.name_as_tag do
|
|
|
|
%em.fa.fa-li.fa-map-marker
|
|
|
|
OpenStreetMap
|
|
|
|
%li
|
|
|
|
= link_to maps_path format: :json, tag: @orga.name_as_tag do
|
2018-02-11 18:06:32 +01:00
|
|
|
%em.fa.fa-li.fa-dot-circle
|
2018-01-05 22:39:29 +01:00
|
|
|
GeoJSON
|
|
|
|
|
|
|
|
- if @orga.secret.nil? || user_signed_in?
|
2018-10-01 14:30:27 +02:00
|
|
|
%h2
|
2018-01-05 22:39:29 +01:00
|
|
|
%em.fa.fa-wrench
|
|
|
|
= t '.actions'
|
2018-10-01 14:30:27 +02:00
|
|
|
%ul.fa-ul
|
|
|
|
%li
|
|
|
|
= link_to edit_orga_path @orga do
|
|
|
|
%em.fa.fa-li.fa-edit
|
|
|
|
= t '.edit'
|
|
|
|
- if user_signed_in?
|
|
|
|
%li
|
|
|
|
= link_to cancel_orga_path @orga do
|
|
|
|
%em.fa.fa-li.fa-thumbs-down
|
|
|
|
= t '.cancel'
|