screenshot.adminstatus added, debug info removed from admin dropdown
This commit is contained in:
parent
3da2f68938
commit
b30794884f
3 changed files with 19 additions and 4 deletions
|
|
@ -13,7 +13,8 @@
|
|||
onclick="return confirm('Really delete the screenshot?');"
|
||||
] Delete screenshot
|
||||
|
||||
p Status: #{screenshot.status}
|
||||
p Uploader IP=#{screenshot.uploaderip}
|
||||
p Uploader Token=#{session[:token]}
|
||||
p Uploaded #{screenshot.age_days} (#{screenshot.created_at})
|
||||
p Status: #{screenshot.adminstatus}
|
||||
/ p Uploader IP=#{screenshot.uploaderip}
|
||||
/ p Uploader Token=#{session[:token]}
|
||||
/ p Uploaded #{screenshot.age_days} (#{screenshot.created_at})
|
||||
p Uploaded #{screenshot.age_days}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,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
|
||||
- if user_signed_in?
|
||||
em.imgcaption =screenshot.adminstatus
|
||||
|
||||
// Is the user an admin?
|
||||
- if user_signed_in?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue