mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fixed error in booths#show when there is no logo.
Added check for logo picture in booths#show Fixed #1916
This commit is contained in:
parent
96b450224e
commit
304ab01874
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
.row
|
||||
.col-md-12
|
||||
%h3
|
||||
= image_tag(@booth.picture.thumb.url, size: '20%', alt: '')
|
||||
- if @booth.logo_link
|
||||
= image_tag( @booth.picture.thumb.url, size: '20%', alt: '')
|
||||
= @booth.title
|
||||
.btn-group.pull-right
|
||||
= link_to 'Edit', edit_admin_conference_booth_path(@conference.short_title, @booth), class: 'btn btn-mini btn-primary'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue