Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Erasmus <jerasmus@gitlab.com>2020-01-31 09:18:33 +0300
committerJacques Erasmus <jerasmus@gitlab.com>2020-01-31 09:18:33 +0300
commit8fdfc355aca320ccb6faf187fc484ee0b953efc4 (patch)
tree5160c8fde84ab68d07636941b976674c55bb790e /layouts/default.html
parent8c375387971976ac7e82cc2f661e21f154bb31df (diff)
Redirect to archives when version is offline
Redirects to the archives page when the current version is offline
Diffstat (limited to 'layouts/default.html')
-rw-r--r--layouts/default.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/default.html b/layouts/default.html
index c4e8463a..05fa7993 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -10,7 +10,7 @@
<%= render '/header.*' %>
<div id="js-version-banner" <%= 'data-is-outdated' if show_version_banner? %> data-latest-version-url="<%= @item.identifier.without_ext + '.html' %>" data-archives-url="/archives/"></div>
- <div class="wrapper <%= 'show-version-banner' if show_version_banner? %>">
+ <div class="wrapper">
<div class="nav-wrapper active">
<aside id="global-nav" class="global-nav">
<% if ENV['CI_PROJECT_NAME'] == 'gitlab-docs' or ENV['CI_PROJECT_NAME'].nil? %>