mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Merge errors
This commit is contained in:
parent
bcc73de85e
commit
832d410303
@ -474,6 +474,7 @@ class LeftAndMain extends Controller {
|
|||||||
* Return a list of appropriate templates for this class, with the given suffix
|
* Return a list of appropriate templates for this class, with the given suffix
|
||||||
*/
|
*/
|
||||||
public function getTemplatesWithSuffix($suffix) {
|
public function getTemplatesWithSuffix($suffix) {
|
||||||
|
$templates = array();
|
||||||
$classes = array_reverse(ClassInfo::ancestry($this->class));
|
$classes = array_reverse(ClassInfo::ancestry($this->class));
|
||||||
foreach($classes as $class) {
|
foreach($classes as $class) {
|
||||||
$template = $class . $suffix;
|
$template = $class . $suffix;
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<!-- <div class="cms-content-search">...</div> -->
|
<!-- <div class="cms-content-search">...</div> -->
|
||||||
|
|
||||||
<% if Backlink %>
|
<% if Backlink %>
|
||||||
<a class="backlink ss-ui-button" href="$Backlink">
|
<a class="backlink ss-ui-button cms-panel-link" data-icon="back" href="$Backlink">
|
||||||
<% _t('Back', 'Back') %>
|
<% _t('Back', 'Back') %>
|
||||||
</a>
|
</a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user