A calendar management project, for events and activities related to communities fighting for freedoms.
This can be related to software, art, data, hardware, content, commons, internet.
https://www.agendadulibre.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
805 B

%h2
=t '.title'
%em= params[:id]
%p=raw t '.future', count: @events_future.count
%ul
- @events_future.each do |event|
%li
%div= link_to event.title, event
- if event.same_day?
le
=l event.start_time.to_date, format: :long
- else
du
=l event.start_time.to_date, format: :long
au
=l event.end_time.to_date, format: :long
à
= event.city
%p=raw t '.past', count: @events_past.count
%ul
- @events_past.each do |event|
%li
%div= link_to event.title, event
- if event.same_day?
le
=l event.start_time.to_date, format: :long
- else
du
=l event.start_time.to_date, format: :long
au
=l event.end_time.to_date, format: :long
à
= event.city