Browse Source

Merge pull request #37583 from nextcloud/fix/37174-place-heading-inside_of_the_main_content

Move heading to the main content
tags/v27.0.0beta1
Julia Kirschenheuter 1 year ago
parent
commit
8eb9505294
No account linked to committer's email address
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      core/templates/layout.user.php

+ 3
- 3
core/templates/layout.user.php View File

</div> </div>


<header role="banner" id="header"> <header role="banner" id="header">
<h1 class="hidden-visually" id="page-heading-level-1">
<?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?>
</h1>
<div class="header-left"> <div class="header-left">
<a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>" <a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>"
aria-label="<?php p($l->t('Go to %s', [$_['logoUrl'] ?: $_['defaultAppName']])); ?>" aria-label="<?php p($l->t('Go to %s', [$_['logoUrl'] ?: $_['defaultAppName']])); ?>"
</form> </form>


<main id="content" class="app-<?php p($_['appid']) ?>"> <main id="content" class="app-<?php p($_['appid']) ?>">
<h1 class="hidden-visually" id="page-heading-level-1">
<?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?>
</h1>
<?php print_unescaped($_['content']); ?> <?php print_unescaped($_['content']); ?>
</main> </main>
<div id="profiler-toolbar"></div> <div id="profiler-toolbar"></div>

Loading…
Cancel
Save