Fixed "more screenshots" link

This commit is contained in:
Christoph Haas 2014-12-01 23:03:58 +01:00
parent 59b353d569
commit 8e1b3edbb4

View file

@ -24,7 +24,8 @@
a.black.fancybox title=pkg.screenshots.first.caption rel='fancybox-group' href=pkg.screenshots.first.url('large')
img.screenshot src=pkg.screenshots.first.url('large')
- if pkg.screenshots.length > 1
.text-center More screenshots
a.black href=package_path(name: pkg.name)
.text-center More screenshots…
- else
a href=upload_package_by_name_path(name: pkg.name)
img.screenshot src="/images/dummy/no-screenshots-upload-one.svg"