提交 da6a8a8b 编写于 作者: A Andrea Frittoli 提交者: tekton-robot

Change from releases to versions

The version switcher dropdown box mentiones releases, however currently
it refers to "master" which is not a release at all. I think we could
use the wording "version" which is more generic.

Archived versions instead is a link to releases on github. Changing the
wording accordingly.
Signed-off-by: NAndrea Frittoli <andrea.frittoli@gmail.com>
上级 e5bad58d
......@@ -3,16 +3,16 @@
<script src="{{ $jsVerSwitcher.RelPermalink }}" integrity="{{ $jsVerSwitcher.Data.Integrity }}"></script>
<li class="nav-item dropdown d-none d-lg-block">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Latest Releases
Latest Versions
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
<div class="dropdown-item disabled">
<p class="mb-0">You are viewing the documentation of the</p>
<p class="mb-0">lastest releases of Tekton components.</p>
<p class="mb-0">lastest versions of Tekton components.</p>
</div>
<form id="version-announcer"></form>
<div class="dropdown-divider"></div>
<h6 class="dropdown-header">Previous Releases</h6>
<h6 class="dropdown-header">Other Versions</h6>
<form id="previous-releases-form"></form>
</div>
</li>
......
......@@ -30,7 +30,7 @@ function createArchivedVersionsNode (anchorNode, componentName, href) {
archiveNode.style.paddingLeft = '2em';
archiveNode.style.color = 'rgb(55, 114, 255)';
archiveNode.setAttribute('data-ref', `${componentName}-child`.toLowerCase());
archiveNode.innerHTML = 'Archived Versions';
archiveNode.innerHTML = 'Releases on GitHub';
archiveNode.setAttribute('href', href);
anchorNode.appendChild(archiveNode);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册