diff --git a/app/views/packages/upload.slim b/app/views/packages/upload.slim index b815eef..5a3ddf7 100644 --- a/app/views/packages/upload.slim +++ b/app/views/packages/upload.slim @@ -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