Fixed old Paperclip code
This commit is contained in:
parent
1734655bc6
commit
109354dbf6
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
|||
// TODO: smarter search for the best screenshot instead of taking the first one
|
||||
- screenshot = pkg.screenshots.first
|
||||
a.black title=screenshot.caption href=package_path(name: pkg.name)
|
||||
= image_tag(screenshot.image.variant("800x600", timestamp: false), alt: screenshot.caption)
|
||||
= image_tag(screenshot.medium_image, alt: screenshot.caption)
|
||||
/- if pkg.screenshots.length > 1
|
||||
a.black href=package_path(name: pkg.name)
|
||||
'and #{pluralize(pkg.screenshots.length-1, 'screenshot')} more…
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue