API Use ShortName of class instead of FQN for body class property

Fixes https://github.com/silverstripe/silverstripe-framework/issues/7586
This commit is contained in:
Damian Mooyman 2017-11-10 15:48:38 +13:00
parent 44a6eabbd5
commit b0458e071d
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ Change it, enhance it and most importantly enjoy it!
<% require themedCSS('layout') %>
<link rel="shortcut icon" href="themes/simple/images/favicon.ico" />
</head>
<body class="$ClassName<% if not $Menu(2) %> no-sidebar<% end_if %>" <% if $i18nScriptDirection %>dir="$i18nScriptDirection"<% end_if %>>
<body class="$ClassName.ShortName<% if not $Menu(2) %> no-sidebar<% end_if %>" <% if $i18nScriptDirection %>dir="$i18nScriptDirection"<% end_if %>>
<% include Header %>
<div class="main" role="main">
<div class="inner typography line">