silverstripe-reports/templates/CommentList.ss

14 lines
413 B
Scheme
Raw Normal View History

<% if Comments %>
<ul id="CommentList">
<% control Comments %>
<li class="$EvenOdd">
$Comment
<div class="extra">$Action $Created.Ago - $Author.FirstName&nbsp;$Author.Surname.Initial</div>
</li>
<% end_control %>
</ul>
<% else %>
<p>There are no comments on this page.</p>
<p>Comments are created whenever one of the 'workflow actions'
are undertaken - Publish, Reject, Submit.</p>
<% end_if %>