diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2018-06-01 14:56:58 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-06-01 14:56:58 +0000 |
commit | d637fbe9af3f1efb9ce0a35c018a83c8b96d1f34 (patch) | |
tree | 60fa41b972b2b72e75439a690e9ba6d927125ca6 /app | |
parent | 52388feb644aae75f9f31ca71d019c1dfade3d28 (diff) | |
parent | 70621bb4fc439dc1b449da709138d8d220ca4a7d (diff) | |
download | gitlab-ce-d637fbe9af3f1efb9ce0a35c018a83c8b96d1f34.tar.gz |
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
Diffstat (limited to 'app')
-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 |