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:
Henne Vogelsang 2022-05-20 14:18:09 +02:00 committed by GitHub
commit cbfe5b56b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,10 @@
= date_string(conference.start_date, conference.end_date)
- if conference.venue
%p
= "#{conference.city}/#{conference.country_name}"
>= conference.city
- if conference.city and conference.country_name
\/
>= conference.country_name
- unless conference.description.blank?
%p
= markdown(conference.description)