diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-06-01 05:24:00 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-06-01 05:26:29 +0300 |
commit | 70621bb4fc439dc1b449da709138d8d220ca4a7d (patch) | |
tree | 5a6ca5ef6469141a2261ca6885f980e85c71aeea /app/views/admin/logs | |
parent | 4e980ea8bc534c031d6421dc532a7ebfc9efefe0 (diff) |
Fix active states on monitoring logs tabs
Diffstat (limited to 'app/views/admin/logs')
-rw-r--r-- | app/views/admin/logs/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/logs/show.html.haml b/app/views/admin/logs/show.html.haml index a6c436cd1f4..e4c0382a437 100644 --- a/app/views/admin/logs/show.html.haml +++ b/app/views/admin/logs/show.html.haml @@ -4,8 +4,8 @@ %div{ class: container_class } %ul.nav-links.log-tabs.nav.nav-tabs - @loggers.each do |klass| - %li{ class: active_when(klass == @loggers.first) }> - = link_to klass.file_name, "##{klass.file_name_noext}", data: { toggle: 'tab' } + %li.nav-item + = link_to klass.file_name, "##{klass.file_name_noext}", data: { toggle: 'tab' }, class: "#{active_when(klass == @loggers.first)} nav-link" .row-content-block To prevent performance issues admin logs output the last 2000 lines .tab-content |