mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Remove the slash between city and country name if either is empty
This commit is contained in:
parent
a79e9ee993
commit
1c4a02110f
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue