Merge pull request #42742 from nextcloud/fix/41826-avoid_same_h1_and_h2_headings

Complete `<h1>` settings heading
pull/42844/head
Arthur Schiwon 5 months ago committed by GitHub
commit 5f0c406e42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,7 +23,7 @@
<template>
<section>
<NcSettingsSection :name="t('theming', 'Appearance and accessibility')"
<NcSettingsSection :name="t('theming', 'Appearance and accessibility settings')"
:limit-width="false"
class="theming">
<!-- eslint-disable-next-line vue/no-v-html -->

@ -87,7 +87,10 @@ p($theme->getTitle());
<main id="content" class="app-<?php p($_['appid']) ?>">
<h1 class="hidden-visually" id="page-heading-level-1">
<?php p(!empty($_['pageTitle'])?$_['pageTitle']:$theme->getName()); ?>
<?php p((!empty($_['application']) && !empty($_['pageTitle']) && $_['application'] != $_['pageTitle'])
? $_['application'].': '.$_['pageTitle']
: (!empty($_['pageTitle']) ? $_['pageTitle'] : $theme->getName())
); ?>
</h1>
<?php print_unescaped($_['content']); ?>
</main>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save