Upload page layout simplified

This commit is contained in:
Christoph Haas 2015-01-04 18:58:55 +01:00
parent d1feaf923b
commit 3a5aee211f

View file

@ -4,7 +4,7 @@
p.subtitle = @package.description
.row.packagepage
.small-8.columns
.small-12.medium-7.large-8.columns
// First row contains the upload form
.row
.small-6.columns
@ -17,20 +17,18 @@
' Click or drag a PNG screenshot file here
.small-6.columns
' Form
- for screenshot in @package.screenshots
.row
.small-6.columns
- @package.screenshots.each do |screenshot|
.listview
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
- if screenshot.uploader
| (Uploaded by
=< screenshot.uploader
| )
.small-6.columns
.property-title This image shows the…
.property =screenshot.caption
.property-title It was uploaded by…
.property =screenshot.uploader
.property-title The image…
.property =screenshot.status
.small-4.columns
.small-12.medium-5.large-4.columns
.bigpanel
p Thanks for uploading more screenshots. Please note:
ul