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

28 lines
726 B
Scheme
Raw Normal View History

2016-09-13 00:47:02 +02:00
<% if $BackLinkTracking %>
<table class="table">
<thead>
<tr>
<th><%t SilverStripe\CMS\Model\SiteTreeFileExtension.TITLE_INDEX '#' %></th>
<th><%t SilverStripe\CMS\Model\SiteTreeFileExtension.TITLE_USED_ON 'Used on' %></th>
<th><%t SilverStripe\CMS\Model\SiteTreeFileExtension.TITLE_TYPE 'Type' %></th>
2016-09-13 00:47:02 +02:00
</tr>
</thead>
<tbody>
<% loop $BackLinkTracking %>
<tr>
<th>$Pos</th>
<td><a href="$CMSEditLink">$MenuTitle</a></td>
<td>
$i18n_singular_name
<% if $isPublished %>
<span class="label label-success">Published</span>
<% else %>
<span class="label label-info">Draft</span>
<% end_if %>
</td>
</tr>
<% end_loop %>
</tbody>
</table>
<% end_if %>