Add checking if template should output <sup>β</sup>

Bug: T208185
Change-Id: I4d564d9398947ea650b935b42cf79ef4a36d1b7e
This commit is contained in:
Bjornskjald 2018-11-14 21:39:26 +01:00
parent 986f8a3013
commit dc61408a59
No known key found for this signature in database
GPG Key ID: 93BC6F739C9CA641
2 changed files with 2 additions and 1 deletions

View File

@ -309,6 +309,7 @@ class MinervaTemplate extends BaseTemplate {
'mainmenuhtml' => $this->getMainMenuHtml( $data ),
'contenthtml' => $this->getContentWrapperHtml( $data ),
'footer' => $this->getFooterTemplateData( $data ),
'isBeta' => $this->getSkin()->getSkinOption( SkinMinerva::OPTIONS_MOBILE_BETA ),
];
// begin rendering
echo $templateParser->processTemplate( 'minerva', $templateData );

View File

@ -13,7 +13,7 @@
<div class="branding-box">
<a href="{{mainPageURL}}">
<span>{{{headinghtml}}}</span>
<sup>&beta;</sup>
{{#isBeta}}<sup>&beta;</sup>{{/isBeta}}
</a>
</div>
<div class="search-box">