Merge branch 'master' of bitbucket.org:signum/debshots
This commit is contained in:
commit
a2178d8226
9 changed files with 28 additions and 23 deletions
|
|
@ -10,6 +10,9 @@
|
|||
.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
|
||||
// TODO: Show information only if admin
|
||||
p Uploader IP=#{screenshot.uploaderip} / Token=#{screenshot.uploaderhash}
|
||||
// TODO: Enable button only if admin or uploader
|
||||
a.button.tiny.alert[
|
||||
href=delete_screenshot_path(@package.name, screenshot.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue