2016-12-04 23:06:35 +01:00
|
|
|
<% if $Versions %>
|
2015-10-19 02:33:18 +02:00
|
|
|
<div class="versions-heading">Versions:</div>
|
2015-10-13 00:17:09 +02:00
|
|
|
<div class="versions">
|
|
|
|
<ul>
|
2016-12-04 23:06:35 +01:00
|
|
|
<% loop $Versions.sort("Title DESC") %>
|
|
|
|
<% if not $Archived %>
|
|
|
|
<li><a href="$Link" class="$LinkingMode">$Title<% if $IsStable %> (stable)<% end_if %></a></li>
|
|
|
|
<% end_if %>
|
2015-10-13 00:17:09 +02:00
|
|
|
<% end_loop %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<form id="VersionsArchive">
|
2015-10-19 02:33:18 +02:00
|
|
|
<select id="VersionSelect" onchange="location.href=VersionsArchive.VersionSelect.options[selectedIndex].value">
|
2015-10-29 04:24:15 +01:00
|
|
|
<option>Archived versions</option>
|
2016-12-04 23:06:35 +01:00
|
|
|
<% loop $Versions.sort("Title DESC").limit(20) %>
|
|
|
|
<% if $Archived %>
|
|
|
|
<option value="$Link">$Title</option>
|
|
|
|
<% end_if %>
|
2015-10-19 02:33:18 +02:00
|
|
|
<% end_loop %>
|
|
|
|
</select>
|
|
|
|
</form>
|
|
|
|
<% end_if %>
|