Basic browser for audit logs added

This commit is contained in:
Christoph Haas 2021-03-03 01:05:29 +01:00
parent 1c2bfb87d3
commit d41220c5fd
4 changed files with 59 additions and 0 deletions

View file

@ -6,6 +6,11 @@
li class=('active' if action_name=='moderate_list')
= link_to moderate_list_path
= fa_icon 'check 2x', text: 'Moderate'
- if can? :view, Log
li class=('active' if action_name=='logs')
= link_to logs_path
= fa_icon 'book 2x', text: 'Logs'
// Add link if user has uploaded screenshots
/ - if @current_users_screenshots and @current_users_screenshots.any?
/ li class=('active' if controller_name=='my' and action_name=='uploads')