Show hidden screenshots in a dark-grayish style

This commit is contained in:
Christoph Haas 2021-03-21 22:05:22 +01:00
parent cc76ebcc28
commit 33240846b2
2 changed files with 5 additions and 0 deletions

View file

@ -18,6 +18,7 @@
- @divclasses = %W(cell pkgcard)
- @divclasses << (screenshot.approved ? "approved" : "unapproved")
- @divclasses << 'highlight' if screenshot.id == @highlight_id
- @divclasses << 'hidden' if screenshot.hidden
div class=(@divclasses.join(' ')) data-equalizer-watch=true
/ TODO: try to alight the buttons to the bottom
= render(partial: 'admin_buttons', locals: {screenshot: screenshot})