silverstripe-reports/templates/CMSMain_versions.ss
Hayden Smith abb9a61d0d Moved CMS module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39000 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:05 +00:00

30 lines
621 B
Scheme
Executable File

<table id="Versions">
<thead>
<tr>
<td>#</td>
<td>When</td>
<td>Author</td>
<td>Publisher</td>
</tr>
</thead>
<tbody>
<% control Versions %>
<tr id="page-$RecordID-version-$Version" class="$EvenOdd $PublishedClass">
<td>$Version</td>
<td class="$LastEdited" title="$LastEdited.Ago">$LastEdited.Nice</td>
<td>$Author.FirstName $Author.Surname.Initial</td>
<td>
<% if Published %>
<% if Publisher %>
$Publisher.FirstName $Publisher.Surname.Initial
<% else %>
Unknown
<% end_if %>
<% else %>
Not published
<% end_if %>
</td>
</tr>
<% end_control %>
</tbody>
</table>