silverstripe-reports/templates/CMSMain_versions.ss
Ingo Schommer 63efbf372b ENHANCEMENT: Renamed Author column to User in the page version history to better reflect that they might not have been authors, and just iniators of workflow actions. (from r89015) (from r96793)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102483 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:59:01 +00:00

40 lines
951 B
Scheme
Executable File

<table id="Versions">
<thead>
<tr>
<td class="checkbox"></td>
<td>#</td>
<td><% _t('WHEN','When') %></td>
<td><% _t('AUTHOR','User') %></td>
<td><% _t('PUBR','Publisher') %></td>
</tr>
</thead>
<tbody>
<% control Versions %>
<tr id="page-$RecordID-version-$Version" class="$EvenOdd $PublishedClass">
<td class="checkbox">
<input type="checkbox" name="Versions[]" id="Versions_$Version" value="$Version" />
</td>
<td class="versionlink">
<a href="$CMSLink">$Version</a>
</td>
<td class="$LastEdited" title="$LastEdited.Ago - $LastEdited.Nice">
$LastEdited.Ago
</td>
<td>
$Author.FirstName $Author.Surname.Initial
</td>
<td>
<% if Published %>
<% if Publisher %>
$Publisher.FirstName $Publisher.Surname.Initial
<% else %>
<% _t('UNKNOWN','Unknown') %>
<% end_if %>
<% else %>
<% _t('NOTPUB','Not published') %>
<% end_if %>
</td>
</tr>
<% end_control %>
</tbody>
</table>