2018-01-05 22:39:29 +01:00
|
|
|
%aside
|
|
|
|
%h1
|
|
|
|
%em.fa.fa-link
|
|
|
|
= t '.links'
|
|
|
|
|
|
|
|
%ul.fa-ul
|
|
|
|
%li
|
|
|
|
= link_to orgas_path(q: params[:q], page: params[:page]),
|
|
|
|
class: :back do
|
|
|
|
%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?
|
|
|
|
%h1
|
|
|
|
%em.fa.fa-wrench
|
|
|
|
= t '.actions'
|
|
|
|
%h2
|
|
|
|
= link_to edit_orga_path @orga do
|
2018-02-11 18:06:32 +01:00
|
|
|
%em.fa.fa-lg.fa-edit
|
2018-01-05 22:39:29 +01:00
|
|
|
= t '.edit'
|
|
|
|
- if user_signed_in?
|
|
|
|
%h2
|
|
|
|
= link_to cancel_orga_path @orga do
|
|
|
|
%em.fa.fa-lg.fa-thumbs-down
|
|
|
|
= t '.cancel'
|
|
|
|
|