silverstripe-cms/templates/SilverStripe/CMS/Model/Includes/SiteTree_Information.ss
Damian Mooyman a87a857a6e
Upgrade code for framework namespaces
Remove @package / @subpackage
Fix inifinite loop in VirtualPage_Controller
2016-09-07 16:29:26 +12:00

10 lines
341 B
Scheme

<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>