Grouping of fancybox thumbnails fixed

This commit is contained in:
Christoph Haas 2014-12-29 14:59:01 +01:00
parent ab11aaba04
commit 6d9d8c619f

View file

@ -21,7 +21,7 @@
=pkg.name
' >
- if pkg.screenshots.any?
a.black.fancybox title=pkg.screenshots.first.caption rel='fancybox-group' href=pkg.screenshots.first.url('large')
a.black.fancybox title=pkg.screenshots.first.caption rel=pkg.id href=pkg.screenshots.first.url('large')
img.screenshot src=pkg.screenshots.first.url('large')
- if pkg.screenshots.length > 1
a.black href=package_path(name: pkg.name)