1
0
mirror of https://github.com/silverstripe/silverstripe-cms synced 2024-10-22 06:05:56 +00:00
silverstripe-cms/templates/SiteTree_Information.ss

10 lines
341 B
Scheme
Raw Normal View History

<div class='cms-sitetree-information'>
<p class="meta-info"><% _t('SiteTree.LASTSAVED', 'Last saved') %> $LastEdited.Ago(0)
<% if $ExistsOnLive %>
<br /><% _t('SiteTree.LASTPUBLISHED', 'Last published') %> $Live.LastEdited.Ago(0)
<% else %>
<br /><em><% _t('SiteTree.NOTPUBLISHED', 'Not published') %></em>
<% end_if %>
</p>
</div>