Suppression de la page spécifique pour les flux ical. De plus, rajout d'icônes awesome pour la navigation
parent
c1148aefeb
commit
c2ce00bf90
@ -1,17 +0,0 @@
|
||||
%h2=t '.title'
|
||||
|
||||
:markdown
|
||||
#{t '.presentation'}
|
||||
|
||||
%table.list
|
||||
%tr
|
||||
%td=t :all, scope: 'activerecord.attributes.region.name_values'
|
||||
%td= link_to :webcal, events_path(protocol: :webcal, format: :ics, region: :all, only_path: false)
|
||||
|
||||
- @regions.each do |region|
|
||||
%tr
|
||||
%td= region.name
|
||||
%td= link_to :webcal, events_path(protocol: :webcal, format: :ics, region: region.id, only_path: false)
|
||||
|
||||
:markdown
|
||||
#{t '.help'}
|
@ -1,25 +1,24 @@
|
||||
%h2=t '.title'
|
||||
%h2
|
||||
%em.fa.fa-rss
|
||||
= title t '.title'
|
||||
|
||||
%p Chaque flux RSS liste les évènements pour les 30 prochains jours en cours dans une région donnée. En vous abonnant à un flux régional, vous recevrez des informations sur les évènements de votre région à portée locale, mais également les évènements à portée nationale comme les RMLL.
|
||||
%p=t '.quick'
|
||||
|
||||
%table.list
|
||||
%tr
|
||||
%td=t :all, scope: 'activerecord.attributes.region.name_values'
|
||||
%td= link_to :rss, events_path(format: :rss, region: :all)
|
||||
|
||||
- @regions.each do |region|
|
||||
%thead
|
||||
%tr
|
||||
%td= region.name
|
||||
%td= link_to :rss, events_path(format: :rss, region: region.id)
|
||||
%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)
|
||||
|
||||
:markdown
|
||||
Quelques fonctionnalités intéressantes des flux RSS :
|
||||
%tbody
|
||||
- @regions.each do |region|
|
||||
%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)
|
||||
|
||||
* Vous pouvez limiter les évènements d'un flux RSS à un certain tag, en
|
||||
passant le paramètre `tag`. Cela permet par exemple de récupérer un flux RSS
|
||||
des évènements organisés uniquement par votre association, à partir du moment
|
||||
où vous pensez à marquer tous vos évènements avec un tag précis.
|
||||
Exemple: `http://www.agendadulibre.org/rss.php?tag=toulibre`.
|
||||
* Vous pouvez modifier la limite aux 30 prochains jours des flux RSS en
|
||||
utilisant le paramètre `daylimit`.
|
||||
Exemple: `http://www.agendadulibre.org/rss.php?region=6&daylimit=42`
|
||||
:markdown
|
||||
#{t '.help', tag: events_path(format: :rss, tag: 'toulibre', only_path: false), daylimit: events_path(format: :ics, daylimit: '42', only_path: false)}
|
||||
|
Loading…
Reference in new issue