Displaying the full event description in the ical feed
This commit is contained in:
parent
2c784f0367
commit
0d72422826
@ -22,7 +22,7 @@
|
||||
- .sort_by { |e| e.city }.each do |event|
|
||||
%li.event
|
||||
= link_to event do
|
||||
%strong.city= event.city.gsub '-', ' '
|
||||
%strong.city= event.city
|
||||
= event.title
|
||||
|
||||
- else
|
||||
@ -41,7 +41,7 @@
|
||||
- .sort_by { |e| e.city }.each do |event|
|
||||
%li.event
|
||||
= link_to event do
|
||||
%strong.city= event.city.gsub '-', ' '
|
||||
%strong.city= event.city
|
||||
= event.title
|
||||
|
||||
.formats
|
||||
|
@ -12,8 +12,8 @@ DTEND;TZID=Europe/Paris:<%= event.end_time.strftime '%Y%m%dT%H%M%S' %>
|
||||
UID:<%= event.id %>@agendadulibre.org
|
||||
SUMMARY:<%= event.title %>
|
||||
URL:<%= event_url event %>
|
||||
DESCRIPTION:Un événement de l'Agenda du Libre
|
||||
LOCATION:<%= event.address %> <%= event.city.gsub('-', ' ') %>
|
||||
DESCRIPTION:<%= strip_tags(event.description).gsub(/\r/, '').gsub /^/, ' ' %>
|
||||
LOCATION:<%= event.full_address %>
|
||||
END:VEVENT
|
||||
<% end %>
|
||||
END:VCALENDAR
|
||||
|
@ -12,7 +12,7 @@ DTEND;TZID=Europe/Paris:<%= event.end_time.strftime '%Y%m%dT%H%M%S' %>
|
||||
UID:<%= event.id %>@agendadulibre.org
|
||||
SUMMARY:<%= event.title %>
|
||||
URL:<%= event_url event %>
|
||||
DESCRIPTION:Un événement de l'Agenda du Libre
|
||||
LOCATION:<%= event.address %> <%= event.city %>
|
||||
DESCRIPTION:<%= strip_tags(event.description).gsub(/\r/, '').gsub /^/, ' ' %>
|
||||
LOCATION:<%= event.full_address %>
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
Loading…
Reference in New Issue
Block a user