mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 17:05:50 +02:00
Cosmetics (see #80)
This commit is contained in:
parent
21ea09ab74
commit
85bb136833
@ -1,4 +1,5 @@
|
|||||||
<% if Versions %>
|
<% if Versions %>
|
||||||
|
<div class="versions-heading">Versions:</div>
|
||||||
<div class="versions">
|
<div class="versions">
|
||||||
<ul>
|
<ul>
|
||||||
<% loop Versions.sort("Title DESC").limit(4) %>
|
<% loop Versions.sort("Title DESC").limit(4) %>
|
||||||
@ -7,11 +8,11 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<form id="VersionsArchive">
|
<form id="VersionsArchive">
|
||||||
<select id="VersionSelect" onchange="location.href=VersionsArchive.VersionSelect.options[selectedIndex].value">
|
<select id="VersionSelect" onchange="location.href=VersionsArchive.VersionSelect.options[selectedIndex].value">
|
||||||
<option>Archive</option>
|
<option>Archive</option>
|
||||||
<% loop Versions.sort("Title DESC").limit(20, 4) %>
|
<% loop Versions.sort("Title DESC").limit(20, 4) %>
|
||||||
<option value="$Link">$Title</option>
|
<option value="$Link">$Title</option>
|
||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
</select>
|
</select>
|
||||||
</form>
|
</form>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
Loading…
Reference in New Issue
Block a user