Merge branch 'fixMissingMobileSidebar' into 'master'

fix mobile sidebar not shown if there is no logo

See merge request !27
This commit is contained in:
Jana Deutschländer 2017-04-11 09:43:32 +02:00
commit 26a5535e70
2 changed files with 6 additions and 7 deletions

View file

@ -89,6 +89,12 @@ $classWideContent = ($ACT === "show") ? "": "wide-content ";
<div class="row">
<div class="col-xs-12">
<div class="claim main-sidebar">
<div class="menu-togglelink mobile-only">
<a href="#">
<span class="sr-out"><?php echo tpl_getLang('a11y_sidebartoggle'); ?></span>
</a>
</div>
<?php if (tpl_getConf('logo') && file_exists(mediaFN(tpl_getConf('logo')))){

View file

@ -1,13 +1,6 @@
<?php
if(!defined('DOKU_INC')) die();
echo '<div class="menu-togglelink mobile-only">';
echo '<a href="#">';
//echo inlineSVG(__DIR__ . '/../img/menu.svg');
echo '<span class="sr-out">'.tpl_getLang('a11y_sidebartoggle').'</span>';
echo '</a>';
echo '</div>';
echo '<div class="logo">';
\dokuwiki\template\sprintdoc\Template::getInstance()->mainLogo();
echo '<hr class="structure" />';