agenda-libre-ruby/app/views/regions/icallist.html.haml
2014-07-07 13:23:40 +02:00

21 lines
767 B
Plaintext

%h2=t '.title'
:markdown
#{t '.presentation'}
%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
#{t '.help'}