New upload review process partly finished
This commit is contained in:
parent
821364483e
commit
34d7eb649c
5 changed files with 70 additions and 24 deletions
|
|
@ -8,7 +8,7 @@
|
|||
' You are about to upload a screenshot for the #{@package.name}
|
||||
' package. Thanks for your contribution.
|
||||
|
||||
= form_for :screenshot, url: upload_image_path, html: { multipart: true, id: 'file-form' } do |f|
|
||||
= form_for :screenshot, url: upload_review_path, html: { multipart: true, id: 'file-form' } do |f|
|
||||
|
||||
.row
|
||||
.small-6.columns
|
||||
|
|
@ -30,16 +30,15 @@
|
|||
|
||||
.small-up-1.medium-up-3.large-up-4.grid-thumbnails
|
||||
- @package.screenshots.all.each do |ss|
|
||||
a.black.fancybox href=ss.image.url(:large, timestamp: false) rel='fancybox-thumb' title=ss.caption
|
||||
= image_tag(ss.image.url(:thumb, timestamp: false), alt: ss.caption, class: 'thumbnail')
|
||||
.column
|
||||
a.black.fancybox href=ss.image.url(:large, timestamp: false) rel='fancybox-thumb' title=ss.caption
|
||||
= image_tag(ss.image.url(:thumb, timestamp: false), alt: ss.caption, class: 'thumbnail')
|
||||
|
||||
// = render partial: 'packages/grid_thumbnail', locals: { pkg: pkg }
|
||||
|
||||
//- else
|
||||
// ' There are no screenshots yet for #{@package.name}. Your upload will
|
||||
// ' be the first.
|
||||
// >>>>>>> 652c2d4126c628403bb8223ffd5f6fb633da95de
|
||||
|
||||
|
||||
|
||||
.small-5.columns.bigpanel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue