mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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 class="cms-content-header north">
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<% if Backlink %>
|
<% include BackLink_Button %>
|
||||||
<a class="backlink ss-ui-button cms-panel-link" data-icon="back" href="$Backlink">
|
|
||||||
<% _t('Back', 'Back') %>
|
|
||||||
</a>
|
|
||||||
<% end_if %>
|
|
||||||
|
|
||||||
<h2 id="page-title-heading">
|
<h2 id="page-title-heading">
|
||||||
<% control Controller %>
|
<% control Controller %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user