silverstripe-cms/templates/SilverStripe/CMS/Model/Includes/SiteTree_Information.ss

10 lines
410 B
Scheme
Raw Normal View History

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