mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT:Trac 6882 - created include template for back button and altered the templates accordingly
This commit is contained in:
parent
aa14a5191e
commit
6a7668fefb
7
admin/templates/Includes/BackLink_Button.ss
Normal file
7
admin/templates/Includes/BackLink_Button.ss
Normal file
@ -0,0 +1,7 @@
|
||||
<% if Backlink %>
|
||||
<div class="cms_backlink">
|
||||
<a class="backlink ss-ui-button cms-panel-link" data-icon="back" href="$Backlink">
|
||||
<% _t('Back', 'Back') %>
|
||||
</a>
|
||||
</div>
|
||||
<% end_if %>
|
@ -4,11 +4,7 @@
|
||||
<div class="cms-content-header north">
|
||||
<div>
|
||||
|
||||
<% if Backlink %>
|
||||
<a class="backlink ss-ui-button cms-panel-link" data-icon="back" href="$Backlink">
|
||||
<% _t('Back', 'Back') %>
|
||||
</a>
|
||||
<% end_if %>
|
||||
<% include BackLink_Button %>
|
||||
|
||||
<h2 id="page-title-heading">
|
||||
<% control Controller %>
|
||||
|
Loading…
Reference in New Issue
Block a user