silverstripe-cms/templates/SilverStripe/CMS/Model/Includes/SiteTree_Information.ss
2017-05-08 17:57:24 +12:00

10 lines
410 B
Scheme

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