diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-05-29 12:20:24 +0300 |
---|---|---|
committer | Marcia Ramos <marcia@gitlab.com> | 2019-05-29 12:20:24 +0300 |
commit | 1487e500c20ae46d88aa35806f5dc881f3ab9cc0 (patch) | |
tree | ff3008f3495f11d61289186ae224ec49b4b7ab78 /layouts/versions_dropdown.html | |
parent | dc2c210bd69ab303d60a752ed5a5aee9c52b2a32 (diff) |
Upgrade to bootstrap 4
Upgrade and address migration issues
Diffstat (limited to 'layouts/versions_dropdown.html')
-rw-r--r-- | layouts/versions_dropdown.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/versions_dropdown.html b/layouts/versions_dropdown.html index 866ed14f..8f6fa632 100644 --- a/layouts/versions_dropdown.html +++ b/layouts/versions_dropdown.html @@ -3,7 +3,7 @@ Choose version </div> <div class="dropdown"> - <a role="button" class="btn btn-versions dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> + <a role="button" class="btn btn-versions dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="versions" href="#"> <!-- Name the label dropdown after the release version so that you know which version you're browsing. For `/archives` show 'Archives' since @@ -24,12 +24,12 @@ Choose version <span class="caret"></span> </a> <ul class="dropdown-menu versions-menu" aria-labelledby="versions"> - <li<%= active_dropdown('master') %>> - <a href='<%= @item.identifier.without_ext + '.html' %>' class="versions-tooltip">master + <li> + <a<%= active_dropdown('master') %> href='<%= @item.identifier.without_ext + '.html' %>' class="versions-tooltip">master <i class="fa fa-question-circle-o" aria-hidden="true" data-toggle="tooltip" data-placement="bottom" title="This documentation reflects the latest pre-release version of GitLab. Be sure to select the correct version."></i> </a> </li> - <li role="separator" class="divider"></li> + <li class="dropdown-divider"></li> <% @items['/_data/versions.yaml'][:online].each do |version| %> <!-- If we are on the archives page, the link here is hardcoded to always @@ -45,15 +45,15 @@ Choose version </a> </li> <% else %> - <li<%= active_dropdown(version) %>> - <a href='/<%= version %><%= @item.identifier.without_ext + '.html' %>'> + <li> + <a<%= active_dropdown(version) %> href='/<%= version %><%= @item.identifier.without_ext + '.html' %>'> <%= version %> </a> </li> <% end %> <% end %> - <li role="separator" class="divider"></li> - <li<%= active_dropdown('archives') %>><a href='/archives/'>Archives</a></li> + <li class="dropdown-divider"></li> + <li><a<%= active_dropdown('archives') %> href='/archives/'>Archives</a></li> </ul> </div> <!-- versions dropdown--> |