Added translations
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
b99640ecb2
commit
ed370a0104
2 changed files with 11 additions and 9 deletions
|
@ -330,4 +330,8 @@ return [
|
||||||
'setup_migration_create_user' => 'Next: Create User',
|
'setup_migration_create_user' => 'Next: Create User',
|
||||||
'ldap_settings_link' => 'LDAP Settings Page',
|
'ldap_settings_link' => 'LDAP Settings Page',
|
||||||
'slack_test' => 'Test <i class="fab fa-slack"></i> Integration',
|
'slack_test' => 'Test <i class="fab fa-slack"></i> Integration',
|
||||||
|
'google_callback_help' => 'This should be entered as your calback URL in your Google OAuth app settings in your Google admin console.',
|
||||||
|
'google_login' => 'Google Login Settings',
|
||||||
|
'enable_google_login' => 'Enable Google login',
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{{-- Page title --}}
|
{{-- Page title --}}
|
||||||
@section('title')
|
@section('title')
|
||||||
Google
|
{{ trans('admin/settings/general.google_login') }}
|
||||||
@parent
|
@parent
|
||||||
@stop
|
@stop
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<div class="panel box box-default">
|
<div class="panel box box-default">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h2 class="box-title">
|
<h2 class="box-title">
|
||||||
<i class="fa-brands fa-google"></i> Google
|
<i class="fa-brands fa-google"></i> {{ trans('admin/settings/general.google_login') }}
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body">
|
<div class="box-body">
|
||||||
|
@ -37,14 +37,12 @@
|
||||||
|
|
||||||
<!-- Google login -->
|
<!-- Google login -->
|
||||||
<div class="form-group {{ $errors->has('google') ? 'error' : '' }}">
|
<div class="form-group {{ $errors->has('google') ? 'error' : '' }}">
|
||||||
<div class="col-md-3 text-right">
|
|
||||||
{{ Form::label('google_login', 'Google Login') }}
|
<div class="col-md-8 col-md-offset-3">
|
||||||
</div>
|
|
||||||
<div class="col-md-8">
|
|
||||||
<label class="form-control{{ (config('app.lock_passwords')===true) ? ' form-control--disabled': '' }}">
|
<label class="form-control{{ (config('app.lock_passwords')===true) ? ' form-control--disabled': '' }}">
|
||||||
<span class="sr-only">{{ trans('admin/settings/general.pwd_secure_uncommon') }}</span>
|
<span class="sr-only">{{ trans('admin/settings/general.pwd_secure_uncommon') }}</span>
|
||||||
{{ Form::checkbox('google_login', '1', old('google_login', $setting->google_login),array('aria-label'=>'google_login', (config('app.lock_passwords')===true) ? 'disabled': '')) }}
|
{{ Form::checkbox('google_login', '1', old('google_login', $setting->google_login),array('aria-label'=>'google_login', (config('app.lock_passwords')===true) ? 'disabled': '')) }}
|
||||||
Enable google login
|
{{ trans('admin/settings/general.enable_google_login') }}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -90,8 +88,8 @@
|
||||||
<strong>Redirect URL</strong>
|
<strong>Redirect URL</strong>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<p class="form-control-static">{{ config('app.url') }}/google/callback</p>
|
<p class="form-control-static" style="margin-top: -5px"><code>{{ config('app.url') }}/google/callback</code></p>
|
||||||
<p class="help-block">This should be entered as your calback URL in your Google OAuth app settings in your Google admin console.</p>
|
<p class="help-block">{{ trans('admin/settings/general.google_callback_help') }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue