mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
ENHANCEMENT SSF-25 : use a title if users/devs has set one instead using a hard-coded one
This commit is contained in:
parent
fd828fc4cb
commit
767336916b
@ -1,9 +1,13 @@
|
||||
<div class="cms-content center $BaseCSSClasses" data-layout-type="border">
|
||||
|
||||
<div class="cms-content-header north">
|
||||
<div>
|
||||
<h2><% _t('ModelAdmin.Title', 'My Model') %></h2>
|
||||
</div>
|
||||
<div><h2>
|
||||
<% if SectionTitle %>
|
||||
$SectionTitle
|
||||
<% else %>
|
||||
<% _t('ModelAdmin.Title', 'Data Models') %>
|
||||
<% end_if %>
|
||||
</h2></div>
|
||||
</div>
|
||||
|
||||
$Tools
|
||||
|
Loading…
x
Reference in New Issue
Block a user