Put oauth text into description.

This commit is contained in:
Roger Braun 2018-11-08 19:27:19 +01:00
parent a04795d723
commit 1de382f026
3 changed files with 6 additions and 3 deletions

View File

@ -23,10 +23,13 @@
</form> </form>
<form v-if="loginMethod == 'token'" v-on:submit.prevent='oAuthLogin' class="login-form"> <form v-if="loginMethod == 'token'" v-on:submit.prevent='oAuthLogin' class="login-form">
<div class="form-group">
<p>{{$t('login.description')}}</p>
</div>
<div class='form-group'> <div class='form-group'>
<div class='login-bottom'> <div class='login-bottom'>
<div><router-link :to="{name: 'registration'}" v-if='registrationOpen' class='register'>{{$t('login.register')}}</router-link></div> <div><router-link :to="{name: 'registration'}" v-if='registrationOpen' class='register'>{{$t('login.register')}}</router-link></div>
<button :disabled="loggingIn" type='submit' class='btn btn-default'>{{$t('login.login_token')}}</button> <button :disabled="loggingIn" type='submit' class='btn btn-default'>{{$t('login.login')}}</button>
</div> </div>
</div> </div>
</form> </form>

View File

@ -12,7 +12,7 @@
}, },
"login": { "login": {
"login": "Anmelden", "login": "Anmelden",
"login_token": "Mit OAuth anmelden", "description": "Mit OAuth anmelden",
"logout": "Abmelden", "logout": "Abmelden",
"password": "Passwort", "password": "Passwort",
"placeholder": "z.B. lain", "placeholder": "z.B. lain",

View File

@ -21,7 +21,7 @@
}, },
"login": { "login": {
"login": "Log in", "login": "Log in",
"login_token": "Log in with OAuth", "description": "Log in with OAuth",
"logout": "Log out", "logout": "Log out",
"password": "Password", "password": "Password",
"placeholder": "e.g. lain", "placeholder": "e.g. lain",