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

@@ -57,9 +57,6 @@ p($theme->getTitle());
</div>

<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">
<a href="<?php print_unescaped($_['logoUrl'] ?: link_to('', 'index.php')); ?>"
aria-label="<?php p($l->t('Go to %s', [$_['logoUrl'] ?: $_['defaultAppName']])); ?>"
@@ -89,6 +86,9 @@ p($theme->getTitle());
</form>

<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']); ?>
</main>
<div id="profiler-toolbar"></div>

Loading…
Cancel
Save