A free open source IT asset/license management system
Final google login tweaks
snipeec76de607bb5
diff --git a/resources/lang/en/admin/settings/general.php b/resources/lang/en/admin/settings/general.phpindex eb7ae05c27..56d0e6a02a 100644--- a/resources/lang/en/admin/settings/general.php+++ b/resources/lang/en/admin/settings/general.php@@ -330,8 +330,9 @@ return ['setup_migration_create_user' => 'Next: Create User','ldap_settings_link' => 'LDAP Settings Page','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_callback_help' => 'This should be entered as the callback URL in your Google OAuth app settings in your organization's <strong><a href="https://console.cloud.google.com/" target="_blank">Google developer console <i class="fa fa-external-link" aria-hidden="true"></i></a></strong>.','google_login' => 'Google Login Settings',- 'enable_google_login' => 'Enable Google login',+ 'enable_google_login' => 'Enable users to login with Google Workspace',+ 'enable_google_login_help' => 'Users will not be automatically provisioned. They must have an existing account here AND in Google Workspace, and their username here must match their Google Workspace email address. ',];diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.phpindex fa2e7f7e62..c08d5dcfb3 100755--- a/resources/views/hardware/view.blade.php+++ b/resources/views/hardware/view.blade.php@@ -616,7 +616,7 @@@if (($asset->model->manufacturer) && ($asset->model->manufacturer->warranty_lookup_url!=''))<a href="{{ $asset->present()->dynamicWarrantyUrl() }}" target="_blank">- <i class="fa fa-external-link"><span class="sr-only">{{ trans('admin/hardware/general.mfg_warranty_lookup', ['manufacturer' => $asset->model->manufacturer->name]) }}</span></i>+ <i class="fa fa-external-link" aria-hidden="true"><span class="sr-only">{{ trans('admin/hardware/general.mfg_warranty_lookup', ['manufacturer' => $asset->model->manufacturer->name]) }}</span></i></a>@endif</div>diff --git a/resources/views/settings/google.blade.php b/resources/views/settings/google.blade.phpindex 72fb5c2c0f..d9a4c4c622 100644--- a/resources/views/settings/google.blade.php+++ b/resources/views/settings/google.blade.php@@ -35,6 +35,18 @@<div class="col-md-12">+ <!-- Google Redirect URL -->+ <div class="form-group">+ <div class="col-md-3 text-right">+ <strong>Redirect URL</strong>+ </div>+ <div class="col-md-8">+ <p class="form-control-static" style="margin-top: -5px"><code>{{ config('app.url') }}/google/callback</code></p>+ <p class="help-block">{!! trans('admin/settings/general.google_callback_help') !!}</p>+ </div>+ </div>++<!-- Google login --><div class="form-group {{ $errors->has('google') ? 'error' : '' }}">@@ -44,6 +56,7 @@{{ Form::checkbox('google_login', '1', old('google_login', $setting->google_login),array('aria-label'=>'google_login', (config('app.lock_passwords')===true) ? 'disabled': '')) }}{{ trans('admin/settings/general.enable_google_login') }}</label>+ <p class="help-block">{{ trans('admin/settings/general.enable_google_login_help') }}</p></div></div>@@ -82,17 +95,6 @@</div></div>- <!-- Google Client Secret -->- <div class="form-group">- <div class="col-md-3 text-right">- <strong>Redirect URL</strong>- </div>- <div class="col-md-8">- <p class="form-control-static" style="margin-top: -5px"><code>{{ config('app.url') }}/google/callback</code></p>- <p class="help-block">{{ trans('admin/settings/general.google_callback_help') }}</p>- </div>- </div>-</div>