Browse Source

Complete `<h1>` settings heading

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
tags/v29.0.0beta1
julia.kirschenheuter 5 months ago
parent
commit
f6ec297df6

+ 1
- 1
apps/theming/src/UserThemes.vue View File

@@ -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 -->

+ 4
- 1
core/templates/layout.user.php View File

@@ -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>

+ 2
- 2
dist/theming-personal-theming.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/theming-personal-theming.js.map
File diff suppressed because it is too large
View File


Loading…
Cancel
Save