Merge pull request #83 from SpiritLevel/patch-2

Cosmetics (see #80)
This commit is contained in:
Cam Findlay 2015-10-23 13:27:33 +13:00
commit 0b2a43d59f
1 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,5 @@
<% if Versions %>
<div class="versions-heading">Versions:</div>
<div class="versions">
<ul>
<% loop Versions.sort("Title DESC").limit(4) %>
@ -7,11 +8,11 @@
</ul>
</div>
<form id="VersionsArchive">
<select id="VersionSelect" onchange="location.href=VersionsArchive.VersionSelect.options[selectedIndex].value">
<option>Archive</option>
<% loop Versions.sort("Title DESC").limit(20, 4) %>
<select id="VersionSelect" onchange="location.href=VersionsArchive.VersionSelect.options[selectedIndex].value">
<option>Archive</option>
<% loop Versions.sort("Title DESC").limit(20, 4) %>
<option value="$Link">$Title</option>
<% end_loop %>
</select>
</form>
<% end_if %>
<% end_loop %>
</select>
</form>
<% end_if %>