2014-07-20 14:18:38 +02:00
|
|
|
%h2
|
|
|
|
%em.fa.fa-rss
|
|
|
|
= title t '.title'
|
2014-01-02 00:21:49 +01:00
|
|
|
|
2014-07-20 14:18:38 +02: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
|
2014-07-20 14:18:38 +02:00
|
|
|
%th=t :all, scope: 'activerecord.attributes.region.name_values'
|
|
|
|
%th= link_to 'RSS', events_path(format: :rss, region: :all)
|
|
|
|
%th= link_to :webcal, events_path(protocol: :webcal, format: :ics, region: :all, only_path: false)
|
|
|
|
%th= link_to :iCal, events_path(format: :ics, region: :all, 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
|
|
|
|
%td= region.name
|
|
|
|
%td= link_to 'RSS', events_path(format: :rss, region: region.id)
|
|
|
|
%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)
|
2014-01-02 00:21:49 +01:00
|
|
|
|
2014-07-20 14:18:38 +02:00
|
|
|
:markdown
|
|
|
|
#{t '.help', tag: events_path(format: :rss, tag: 'toulibre', only_path: false), daylimit: events_path(format: :ics, daylimit: '42', only_path: false)}
|