mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +02:00
i18n page strings
This commit is contained in:
parent
4ab48cc67d
commit
59dc6ea991
29 changed files with 125 additions and 107 deletions
|
@ -11,14 +11,17 @@
|
|||
|
||||
import $ from 'jquery';
|
||||
import Route from '@ember/routing/route';
|
||||
import { inject as service } from '@ember/service';
|
||||
|
||||
export default Route.extend({
|
||||
i18n: service(),
|
||||
|
||||
model: function (params) {
|
||||
return params.token;
|
||||
},
|
||||
|
||||
activate() {
|
||||
this.get('browser').setTitleAsPhrase('Reset Password');
|
||||
this.get('browser').setTitleAsPhrase(this.i18n.localize('reset_password'));
|
||||
$('body').addClass('background-color-theme-100 d-flex justify-content-center align-items-center');
|
||||
},
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
<div class="auth-center">
|
||||
<div class="auth-box">
|
||||
<div class="logo">
|
||||
<img src="{{appMeta.endpoint}}/public/logo?cb={{random-id}}"
|
||||
title="Community" alt="Community" class="img-fluid">
|
||||
<img src="{{appMeta.endpoint}}/public/logo?cb={{random-id}}" title="{{appMeta.title}}" alt="{{appMeta.title}}" class="img-fluid">
|
||||
<div class="url">{{appMeta.title}} ({{appMeta.appHost}})</div>
|
||||
</div>
|
||||
{{user/password-reset reset=(action "reset")}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue