screenshot.adminstatus added, debug info removed from admin dropdown

This commit is contained in:
Christoph Haas 2016-06-06 15:55:38 +02:00
parent 3da2f68938
commit b30794884f
3 changed files with 19 additions and 4 deletions

View file

@ -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?