hide venue link if there is no venue link
This commit is contained in:
parent
fac7a14401
commit
0b7085291f
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
= date_string(conference.start_date, conference.end_date)
|
= date_string(conference.start_date, conference.end_date)
|
||||||
- if conference.venue
|
- if conference.venue
|
||||||
%span.venue.text-nowrap
|
%span.venue.text-nowrap
|
||||||
- if venue.website
|
- if venue.website.present?
|
||||||
= sanitize link_to(venue.name, venue.website)
|
= sanitize link_to(venue.name, venue.website)
|
||||||
- else
|
- else
|
||||||
= venue.city
|
= venue.city
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue