Permalink
Browse files

ENHANCEMENT SSF-25 : use a title if users/devs has set one instead us…

…ing a hard-coded one
  • Loading branch information...
1 parent fd828fc commit 767336916b599aaca0f26a55f58b13b0fb8ecc4a @normann normann committed Mar 8, 2012
Showing with 7 additions and 3 deletions.
  1. +7 −3 admin/templates/Includes/ModelAdmin_Content.ss
@@ -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

0 comments on commit 7673369

Please sign in to comment.