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:
authorAchilleas Pipinellis <axil@gitlab.com>2019-04-19 13:00:14 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-04-19 13:00:14 +0300
commit6c018a1cb3a325140eb31175367e86aeedf8cf52 (patch)
treec027ad48a1d5ee767699321059def48670bac3be /layouts/versions_dropdown.html
parent00dbe9a3b58ebe5581ab31517a336148f37e914c (diff)
Make the versions dropdown more apparent
Add a "Choose version" text and a border around the toggle button
Diffstat (limited to 'layouts/versions_dropdown.html')
-rw-r--r--layouts/versions_dropdown.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/layouts/versions_dropdown.html b/layouts/versions_dropdown.html
index 8de983d9..866ed14f 100644
--- a/layouts/versions_dropdown.html
+++ b/layouts/versions_dropdown.html
@@ -1,6 +1,9 @@
<!-- versions dropdown-->
+<div class="choose-version">
+Choose version
+</div>
<div class="dropdown">
- <a role="button" class="btn btn-versions dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="versions">
+ <a role="button" class="btn btn-versions dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<!--
Name the label dropdown after the release version so that you know
which version you're browsing. For `/archives` show 'Archives' since
@@ -23,7 +26,7 @@
<ul class="dropdown-menu versions-menu" aria-labelledby="versions">
<li<%= active_dropdown('master') %>>
<a 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="The latest docs from GitLab's master branches, to which this site defaults."></i>
+ <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>