Link to details page even if no screenshots exists yet.
This commit is contained in:
parent
0143c63c3f
commit
1e4a830cfa
1 changed files with 1 additions and 3 deletions
|
|
@ -4,9 +4,7 @@ a.black href=package_path(name: pkg.name)
|
|||
- if pkg.screenshots.any?
|
||||
img src=pkg.screenshots[0].url('small')
|
||||
- else
|
||||
// TODO: make it a link to /upload
|
||||
a href=upload_package_by_name_path(name: pkg.name)
|
||||
img.screenshot src="/images/dummy/no-screenshots-upload-one.svg"
|
||||
img.screenshot src="/images/dummy/no-screenshots-upload-one.svg"
|
||||
div
|
||||
// TODO: use description instead of package name (as soon as it is available)
|
||||
.pkgname
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue