Move to sane directory structure. Don't make 'cms' the top level of the silverstripe...
[silverstripe-elijah.git] / templates / CommentList.ss
blob28b1b48e5c00a46975b8987946a0ac50c6e6a939
1 <% if Comments %>
2         <ul id="CommentList">
3                 <% control Comments %>
4                 <li class="$EvenOdd">
5                         $Comment
6                         <div class="extra">$Action $Created.Ago - $Author.FirstName&nbsp;$Author.Surname.Initial</div>
7                 </li>
8                 <% end_control %>
9         </ul>
10 <% else %>
11         <p>There are no comments on this page.</p>
12         <p>Comments are created whenever one of the 'workflow actions'
13         are undertaken - Publish, Reject, Submit.</p>
14 <% end_if %>