blob: 85dc1eb63178e6f7d462e285af002efb0d550979 [file] [log] [blame]
Zack Williams16042b62020-03-29 22:03:16 -07001<!--
Joey Armstrong8388b7f2023-01-23 11:20:04 -05002SPDX-FileCopyrightText: 2020-2023 Open Networking Foundation (ONF) and the ONF Contributors
Zack Williams16042b62020-03-29 22:03:16 -07003SPDX-License-Identifier: Apache-2.0
4--!>
5{%- if current_version %}
6<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
7 <span class="rst-current-version" data-toggle="rst-current-version">
8 <span class="fa fa-book"> Other Versions</span>
9 v: {{ current_version.name }}
10 <span class="fa fa-caret-down"></span>
11 </span>
12 <div class="rst-other-versions">
13 {%- if versions.tags %}
14 <dl>
15 <dt>Tags</dt>
16 {%- for item in versions.tags %}
17 <dd><a href="{{ item.url }}">{{ item.name }}</a></dd>
18 {%- endfor %}
19 </dl>
20 {%- endif %}
21 {%- if versions.branches %}
22 <dl>
23 <dt>Branches</dt>
24 {%- for item in versions.branches %}
25 <dd><a href="{{ item.url }}">{{ item.name }}</a></dd>
26 {%- endfor %}
27 </dl>
28 {%- endif %}
29 </div>
30</div>
31{%- endif %}