2014-07-20 14:18:38 +02:00
|
|
|
%h2
|
|
|
|
%em.fa.fa-rss
|
|
|
|
= title t '.title'
|
2014-01-02 00:21:49 +01:00
|
|
|
|
2015-11-07 10:35:20 +01:00
|
|
|
%p= t '.quick'
|
2014-01-02 00:21:49 +01:00
|
|
|
|
|
|
|
%table.list
|
2014-07-20 14:18:38 +02:00
|
|
|
%thead
|
2014-01-02 00:21:49 +01:00
|
|
|
%tr
|
2018-03-18 16:55:39 +01:00
|
|
|
%th= t :all, scope: 'activerecord.attributes.region.name_values'
|
2017-07-06 14:45:20 +02:00
|
|
|
%th= link_to 'RSS', events_path(format: :rss)
|
2015-11-07 10:35:20 +01:00
|
|
|
%th= link_to :webcal,
|
2017-07-06 14:45:20 +02:00
|
|
|
events_path(protocol: :webcal, format: :ics, only_path: false)
|
2015-11-07 10:35:20 +01:00
|
|
|
%th= link_to :iCal,
|
2017-07-06 14:45:20 +02:00
|
|
|
events_path(format: :ics, only_path: false)
|
2015-11-07 10:35:20 +01:00
|
|
|
%th= link_to :GeoJSON,
|
2017-07-06 14:45:20 +02:00
|
|
|
maps_path(format: :json, only_path: false)
|
2014-01-02 00:21:49 +01:00
|
|
|
|
2014-07-20 14:18:38 +02:00
|
|
|
%tbody
|
2014-08-25 17:55:14 +02:00
|
|
|
- @regions.find_each do |region|
|
2014-07-20 14:18:38 +02:00
|
|
|
%tr
|
2014-10-31 14:24:40 +01:00
|
|
|
%td= link_to region.name, events_path(region: region.id)
|
2014-07-20 14:18:38 +02:00
|
|
|
%td= link_to 'RSS', events_path(format: :rss, region: region.id)
|
2015-11-07 10:35:20 +01:00
|
|
|
%td= link_to :webcal,
|
|
|
|
events_path(protocol: :webcal, format: :ics, region: region.id,
|
|
|
|
only_path: false)
|
|
|
|
%td= link_to :iCal,
|
|
|
|
events_path(format: :ics, region: region.id, only_path: false)
|
|
|
|
%td= link_to :GeoJSON,
|
|
|
|
maps_path(format: :json, region: region.id, only_path: false)
|
2014-01-02 00:21:49 +01:00
|
|
|
|
2014-07-20 14:18:38 +02:00
|
|
|
:markdown
|
2015-11-07 10:35:20 +01:00
|
|
|
#{t '.help',
|
|
|
|
tag: events_path(format: :rss, tag: 'toulibre', only_path: false),
|
2016-03-12 16:14:45 +01:00
|
|
|
daylimit: events_path(format: :ics, daylimit: '42', only_path: false),
|
|
|
|
near: events_path(format: :rss, near: { location: 'Rennes', distance: 20 },
|
|
|
|
only_path: false)}
|