2014-01-04 11:34:50 +01:00
|
|
|
%h2=t '.title'
|
|
|
|
|
|
|
|
:markdown
|
2014-07-07 13:23:40 +02:00
|
|
|
#{t '.presentation'}
|
2014-01-04 11:34:50 +01:00
|
|
|
|
|
|
|
%table.list
|
|
|
|
%tr
|
|
|
|
-#http://www.google.com/calendar/render?cid=http://www.agendadulibre.org/ical.php?region%3Dall
|
|
|
|
%td=t :all, scope: 'activerecord.attributes.region.name_values'
|
|
|
|
%td= link_to :webcal, events_path(protocol: :webcal, format: :ics, region: :all, only_path: false)
|
|
|
|
%td= link_to :google, "http://www.google.com/calendar/render?cid=#{events_url(format: :ics, region: :all)}"
|
|
|
|
|
|
|
|
- @regions.each do |region|
|
|
|
|
%tr
|
|
|
|
%td= region.name
|
|
|
|
%td= link_to :webcal, events_path(protocol: :webcal, format: :ics, region: region.id, only_path: false)
|
|
|
|
%td= link_to :google, "http://www.google.com/calendar/render?cid=#{events_url(format: :ics, region: region.id)}"
|
|
|
|
|
|
|
|
:markdown
|
2014-07-07 13:23:40 +02:00
|
|
|
#{t '.help'}
|