Showing screenshots in package details as a list instead of a grid
This commit is contained in:
parent
841e3071f8
commit
57b5df0a1c
1 changed files with 4 additions and 3 deletions
|
|
@ -12,9 +12,9 @@
|
|||
.small-7.medium-7.columns
|
||||
p.subtitle = @package.description
|
||||
|
||||
ul.small-block-grid-1.medium-block-grid-2.large-block-grid-2
|
||||
- @package.screenshots.each do |screenshot|
|
||||
li
|
||||
- @package.screenshots.each do |screenshot|
|
||||
.row.listview
|
||||
.small-12.columns
|
||||
a.black.fancybox href=screenshot.image.url(:large, timestamp: false) rel='fancybox-thumb' title=screenshot.caption
|
||||
= image_tag(screenshot.image.url(:large, timestamp: false), alt: screenshot.caption)
|
||||
.imgcaption =screenshot.caption
|
||||
|
|
@ -24,6 +24,7 @@
|
|||
onclick="return confirm('Really delete the screenshot?');"
|
||||
] Delete screenshot
|
||||
|
||||
|
||||
// TODO: Enable comments in a later version
|
||||
// = partial '/package/comments'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue