Skip to content

Commit 0ba09ac

Browse files
authored
Merge pull request #35172 from nextcloud/backport/35014/stable25
[stable25] Fix rendering of login headline
2 parents 2fe4876 + 4665fa2 commit 0ba09ac

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

core/src/components/login/LoginForm.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<!-- the following div ensures that the spinner is always inside the #message div -->
5353
<div style="clear: both;" />
5454
</div>
55-
<h2 class="login-form__headline">{{ t('core', 'Log in to {productName}', { productName: OC.theme.name }) }}</h2>
55+
<h2 class="login-form__headline" v-html="headline" />
5656
<NcTextField id="user"
5757
ref="user"
5858
:label="t('core', 'Account name or email')"
@@ -159,6 +159,7 @@ export default {
159159
loading: false,
160160
timezone: jstz.determine().name(),
161161
timezoneOffset: (-new Date().getTimezoneOffset() / 60),
162+
headline: t('core', 'Log in to {productName}', { productName: OC.theme.name }),
162163
user: '',
163164
password: '',
164165
}

dist/core-login.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core-login.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)