Commit 70621bb4 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix active states on monitoring logs tabs

parent 4e980ea8
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
%div{ class: container_class } %div{ class: container_class }
%ul.nav-links.log-tabs.nav.nav-tabs %ul.nav-links.log-tabs.nav.nav-tabs
- @loggers.each do |klass| - @loggers.each do |klass|
%li{ class: active_when(klass == @loggers.first) }> %li.nav-item
= link_to klass.file_name, "##{klass.file_name_noext}", data: { toggle: 'tab' } = link_to klass.file_name, "##{klass.file_name_noext}", data: { toggle: 'tab' }, class: "#{active_when(klass == @loggers.first)} nav-link"
.row-content-block .row-content-block
To prevent performance issues admin logs output the last 2000 lines To prevent performance issues admin logs output the last 2000 lines
.tab-content .tab-content
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment