Commit d637fbe9 authored by Clement Ho's avatar Clement Ho

Merge branch '46815-monitoring-active-tab' into 'master'

Resolve "Admin area > Monitoring > Logs > No default active tab"

Closes #46815

See merge request gitlab-org/gitlab-ce!19298
parents 52388feb 70621bb4
...@@ -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