[refactor] Use core template variable for subtitle

Avoid indirection to QuickTemplate variable by using
SkinMinerva (SkinMustache) version.

To test:
* Create User:Admin/sandbox
* Create User:Admin
* Visit User:Admin/sandbox to see the breadcrumb "< User:Admin"

Change-Id: Icdd10bd1406ea047097309b6fcafba399170d019
This commit is contained in:
jdlrobson 2021-08-19 12:26:48 -07:00
parent 46ac6048d7
commit e42bfd1e96
2 changed files with 1 additions and 2 deletions

View file

@ -225,7 +225,6 @@ class MinervaTemplate extends BaseTemplate {
'postheadinghtml' => $data['postheadinghtml'] ?? '',
'pageactionshtml' => $hasPageActions ? $this->getPageActionsHtml() : '',
'userMenuHTML' => $data['userMenuHTML'],
'subtitle' => $data['subtitle'],
'contenthtml' => $this->getContentHtml( $data ),
'secondaryactionshtml' => $this->getSecondaryActionsHtml(),

View file

@ -55,7 +55,7 @@
{{{pageactionshtml}}}
{{{postheadinghtml}}}
{{{internalBanner}}}
<div class="minerva__subtitle">{{{subtitle}}}</div>
<div class="minerva__subtitle">{{{html-subtitle}}}</div>
</div>
{{/hasheadingholder}}
{{{contenthtml}}}