mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 14:34:09 +00:00
Fixed missing footer sitetitle
This commit is contained in:
parent
a039f02bed
commit
f0da589b52
|
@ -63,6 +63,7 @@ class CitizenTemplate extends BaseTemplate {
|
||||||
'data-footer' => [
|
'data-footer' => [
|
||||||
'html-userlangattributes' => $this->get( 'userlangattributes', '' ),
|
'html-userlangattributes' => $this->get( 'userlangattributes', '' ),
|
||||||
'html-lastmodified' => $this->getLastMod(),
|
'html-lastmodified' => $this->getLastMod(),
|
||||||
|
'msg-sitetitle' => $this->getMsg( 'sitetitle' )->text(),
|
||||||
'msg-citizen-footer-desc' => $this->getMsg( 'citizen-footer-desc' )->text(),
|
'msg-citizen-footer-desc' => $this->getMsg( 'citizen-footer-desc' )->text(),
|
||||||
'array-footer-rows' => $this->getFooterRows(),
|
'array-footer-rows' => $this->getFooterRows(),
|
||||||
'msg-citizen-footer-tagline' => $this->getMsg( 'citizen-footer-tagline' )->text(),
|
'msg-citizen-footer-tagline' => $this->getMsg( 'citizen-footer-tagline' )->text(),
|
||||||
|
@ -71,7 +72,6 @@ class CitizenTemplate extends BaseTemplate {
|
||||||
|
|
||||||
'msg-sitetitle' => $this->getMsg( 'sitetitle' )->text(),
|
'msg-sitetitle' => $this->getMsg( 'sitetitle' )->text(),
|
||||||
'main-page-href' => Skin::makeMainPageUrl(),
|
'main-page-href' => Skin::makeMainPageUrl(),
|
||||||
'main-page-tooltip' => Linker::tooltipAndAccesskeyAttribs( 'p-logo' ),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
// TODO: Convert the header to Mustache
|
// TODO: Convert the header to Mustache
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<div id="footer-sitetitle" class="mw-wiki-title">{{{msg-sitetitle}}}</div>
|
<div id="footer-sitetitle" class="mw-wiki-title">{{{msg-sitetitle}}}</div>
|
||||||
<div id="footer-desc">{{{msg-citizen-footer-desc}}}</div>
|
<div id="footer-desc">{{{msg-citizen-footer-desc}}}</div>
|
||||||
{{#array-footer-rows}}
|
{{#array-footer-rows}}
|
||||||
<ul id="{{id}}" class="{{className}}">
|
<ul id="{{id}}" {{#className}}class="{{.}}"{{/className}}>
|
||||||
{{#array-items}}
|
{{#array-items}}
|
||||||
<li id="{{id}}">{{{html}}}</li>
|
<li id="{{id}}">{{{html}}}</li>
|
||||||
{{/array-items}}
|
{{/array-items}}
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<div id="footer-bottom-content">
|
<div id="footer-bottom-content">
|
||||||
<div id="footer-tagline">{{{msg-citizen-footer-tagline}}}</div>
|
<div id="footer-tagline">{{{msg-citizen-footer-tagline}}}</div>
|
||||||
{{#array-footer-icons}}
|
{{#array-footer-icons}}
|
||||||
<ul id="{{id}}" class="{{className}}">
|
<ul id="{{id}}" {{#className}}class="{{.}}"{{/className}}>
|
||||||
{{#array-items}}
|
{{#array-items}}
|
||||||
<li id="{{id}}">{{{html}}}</li>
|
<li id="{{id}}">{{{html}}}</li>
|
||||||
{{/array-items}}
|
{{/array-items}}
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
</main>
|
</main>
|
||||||
{{#data-footer}}{{>Footer}}{{/data-footer}}
|
{{#data-footer}}{{>Footer}}{{/data-footer}}
|
||||||
<div class="mw-sidebar-sitename" role="banner">
|
<div class="mw-sidebar-sitename" role="banner">
|
||||||
<a class="mw-wiki-title" href="{{{main-page-href}}}" {{{main-page-tooltip}}}>{{{msg-sitetitle}}}</a>
|
<a class="mw-wiki-title" href="{{{main-page-href}}}">{{{msg-sitetitle}}}</a>
|
||||||
</div>
|
</div>
|
||||||
{{{html-unported}}}
|
{{{html-unported}}}
|
||||||
{{{html-printtail}}}
|
{{{html-printtail}}}
|
Loading…
Reference in a new issue