Session token/IP based user authentication added
This commit is contained in:
parent
d866f17405
commit
c87011ff84
3 changed files with 11 additions and 4 deletions
|
|
@ -11,6 +11,8 @@
|
|||
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