blob: 8ed5e31fd3825a97244986279747fadbae4d85ae [file] [log] [blame]
Zack Williams16042b62020-03-29 22:03:16 -07001<!--
2SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
3SPDX-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 %}