Fixed conferences page
This commit is contained in:
@@ -21,12 +21,13 @@
|
||||
%h3=_"articles.conferences.headings.types.#{type.to_s}", :t
|
||||
%ul
|
||||
- list.each do | conference |
|
||||
%li.conference{id: "conference-#{conference.id}", data: {a: conference.city.latitude, o: conference.city.longitude, y: conference.year, t: conference.conferencetype}}
|
||||
%li.conference{id: "conference-#{conference.id}", data: {a: conference.city.latitude, o: conference.city.longitude, y: conference.year, t: conference.conferencetype}, class: conference.is_public ? nil : 'not-public'}
|
||||
.info
|
||||
%h4.title= conference.title
|
||||
.conference-details
|
||||
.location=location(conference.city)
|
||||
.date= date_span(conference.start_date.to_date, conference.end_date.to_date)
|
||||
- if conference.start_date.present? && conference.end_date.present?
|
||||
.date= date_span(conference.start_date.to_date, conference.end_date.to_date)
|
||||
.actions
|
||||
= link_to (_'articles.workshops.info.read_more'), conference_path(conference.slug), class: ['button', 'conference-link', 'small']
|
||||
- if logged_in?
|
||||
|
||||
Reference in New Issue
Block a user