agenda-libre-ruby/app/views/maps/index.html.haml

23 lines
444 B
Plaintext

%h2
%em.fa.fa-map-marker
= title t '.title'
- if params[:tag]
«
%em= params[:tag]
»
#map.events(data-url="#{maps_path format: :json}")
%nav
= link_to events_path format: :rss, tag: params[:tag] do
%em.fa.fa-rss
RSS
\/
= link_to events_path format: :ics, tag: params[:tag] do
%em.fa.fa-th-list
iCal
\/
= link_to maps_path format: :json, tag: params[:tag] do
%em.fa.fa-dot-circle-o
GeoJSON