Merge pull request #23 from lmock/patch-1
hide venue link if there is no venue link
This commit is contained in:
commit
9ed068c59a
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
|||
= date_string(conference.start_date, conference.end_date)
|
||||
- if conference.venue
|
||||
%span.venue.text-nowrap
|
||||
- if venue.website
|
||||
- if venue.website.present?
|
||||
= sanitize link_to(venue.name, venue.website)
|
||||
- else
|
||||
= venue.city
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue