|
@ -21,12 +21,13 @@ |
|
|
%h3=_"articles.conferences.headings.types.#{type.to_s}", :t |
|
|
%h3=_"articles.conferences.headings.types.#{type.to_s}", :t |
|
|
%ul |
|
|
%ul |
|
|
- list.each do | conference | |
|
|
- 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 |
|
|
.info |
|
|
%h4.title= conference.title |
|
|
%h4.title= conference.title |
|
|
.conference-details |
|
|
.conference-details |
|
|
.location=location(conference.city) |
|
|
.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 |
|
|
.actions |
|
|
= link_to (_'articles.workshops.info.read_more'), conference_path(conference.slug), class: ['button', 'conference-link', 'small'] |
|
|
= link_to (_'articles.workshops.info.read_more'), conference_path(conference.slug), class: ['button', 'conference-link', 'small'] |
|
|
- if logged_in? |
|
|
- if logged_in? |
|
|