dbd704f335
Currently deprecation badge headers just point back to the root of the documentation for the latest stable release, so for example the badge at the top of https://docs.openstack.org/latest/user/index.html just points to https://docs.openstack.org/rocky/ It's useful to be able to quickly jump between different releases of the same documentation page, but currently this requires hand-editing URLs or many extra manual hops in the navigation trail. So automatically generate the links, but only display them if the link target exists. Since the main portal page for each release already had a "More Releases" dropdown, remove that to avoid two dropdowns on the portal pages. Change-Id: I2498f00a6c863d078a70289a655b0aa3958325ed
17 lines
1.4 KiB
Cheetah
17 lines
1.4 KiB
Cheetah
<div class="col-lg-2 col-md-2 col-sm-2">
|
|
<div class="dropdown docs-dropdown">
|
|
<a data-toggle="dropdown" href="#">Languages <i class="fa fa-caret-down fa-3"></i></a>
|
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="/de/">Deutsch (German)</a></li>
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="/fr/">Français (French)</a></li>
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="/id/">Bahasa Indonesia (Indonesian)</a></li>
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="/it/">Italiano (Italian)</a></li>
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="/ja/">日本語 (Japanese)</a></li>
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="/ko_KR/">한국어 (Korean)</a></li>
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="/pt_BR/">Português (Portuguese)</a></li>
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="/tr_TR/">Türkçe (Türkiye)</a></li>
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="/zh_CN/">简体中文 (Simplified Chinese)</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|