Add dummy text in list view if a long description is missing.
This commit is contained in:
parent
66ea039c10
commit
cefa804f54
1 changed files with 3 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
|||
= render 'packages/searchfield'
|
||||
|
||||
// Package list
|
||||
.row
|
||||
.row.packagepage
|
||||
.small-9.medium-10.columns
|
||||
- if @packages.length>0
|
||||
- @packages.to_a.each do |pkg|
|
||||
|
|
@ -32,7 +32,8 @@
|
|||
img.screenshot src="/images/dummy/no-screenshots-upload-one.svg"
|
||||
.small-12.medium-8.columns
|
||||
.row.packagedetails
|
||||
= pkg.long_description
|
||||
.subtitle = pkg.description
|
||||
= pkg.long_description or 'Sorry - no description available.'
|
||||
|
||||
// Second paginator at the bottom so the user does not have to scroll up again
|
||||
= render 'packages/paginator'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue