mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
changed if to unless in rendering css conditionally
This commit is contained in:
parent
bebcc5042a
commit
628f9438d9
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
%a{ href: '#location' } Location
|
||||
|
||||
|
||||
%div#venue-banner-disp{ style: ("background-image: url(#{@conference.venue.photo})" if @conference.venue.photo), class:('with-background' if @conference.venue.photo) }
|
||||
%div#venue-banner-disp{ style: ("background-image: url(#{@conference.venue.photo})" unless @conference.venue.photo.blank?), class:('with-background' unless @conference.venue.photo.blank?) }
|
||||
%div.container.text-center
|
||||
.div.row.col-md-12
|
||||
- unless @conference.venue.name.blank?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue