Dummy action to show user screenshots added
This commit is contained in:
parent
3fb8b3ab17
commit
9549720a7a
1 changed files with 23 additions and 0 deletions
23
app/views/my/uploads.slim
Normal file
23
app/views/my/uploads.slim
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// Show users' own uploaded screenshots in this session
|
||||
|
||||
/ = link_to 'Back', :back, class: 'button small'
|
||||
|
||||
.row.packagepage
|
||||
h1 Screenshots you uploaded
|
||||
|
||||
- @packages.each do |package|
|
||||
h2 Package #{package.name}
|
||||
.subtitle
|
||||
= package.description
|
||||
|
||||
.small-9.large-10.columns
|
||||
- if @current_users_screenshots.length>0
|
||||
.row.small-up-1.medium-up-3.large-up-4.grid-thumbnails
|
||||
- @current_users_screenshots.each do |screenshot|
|
||||
.column
|
||||
|
||||
a.black.fancybox href=screenshot.image.url(:large, timestamp: false)
|
||||
div.grid-thumbnail
|
||||
= image_tag(screenshot.image.url(:thumb, timestamp: false), alt: screenshot.caption, class: 'thumbnail')
|
||||
div
|
||||
= screenshot.description
|
||||
Loading…
Add table
Add a link
Reference in a new issue