Merge pull request #3034 from hellcp/patch-2
Remove the slash between city and country name if either is empty
This commit is contained in:
commit
cbfe5b56b7
1 changed files with 4 additions and 1 deletions
|
|
@ -12,7 +12,10 @@
|
||||||
= date_string(conference.start_date, conference.end_date)
|
= date_string(conference.start_date, conference.end_date)
|
||||||
- if conference.venue
|
- if conference.venue
|
||||||
%p
|
%p
|
||||||
= "#{conference.city}/#{conference.country_name}"
|
>= conference.city
|
||||||
|
- if conference.city and conference.country_name
|
||||||
|
\/
|
||||||
|
>= conference.country_name
|
||||||
- unless conference.description.blank?
|
- unless conference.description.blank?
|
||||||
%p
|
%p
|
||||||
= markdown(conference.description)
|
= markdown(conference.description)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue