diff --git a/src/Web/AdminModule/UserModule/Control/ExternalAuthList/templates/externalAuthListControl.latte b/src/Web/AdminModule/UserModule/Control/ExternalAuthList/templates/externalAuthListControl.latte index 99fc59f..980ecac 100644 --- a/src/Web/AdminModule/UserModule/Control/ExternalAuthList/templates/externalAuthListControl.latte +++ b/src/Web/AdminModule/UserModule/Control/ExternalAuthList/templates/externalAuthListControl.latte @@ -1,26 +1,28 @@ {templateType App\Web\AdminModule\UserModule\Control\ExternalAuthList\ExternalAuthListTemplate} -
-
-
- - - - - - - - - - - - - - - - - -
{_auth_type}{_resource_owner_id}
{$externalAuth->providerCode}{$externalAuth->resourceOwnerId}
{_no_rows}
+{if 0 < count($externalAuths)} +
+
+
+ + + + + + + + + + + + + +
{_auth_type}{_resource_owner_id}
{$externalAuth->providerCode}{$externalAuth->resourceOwnerId}
+
-
+{else} +
+
{_no_rows}
+
+{/if} diff --git a/src/Web/FrontModule/Presenter/templates/SignIn.default.latte b/src/Web/FrontModule/Presenter/templates/SignIn.default.latte index 2964a07..f555dfc 100644 --- a/src/Web/FrontModule/Presenter/templates/SignIn.default.latte +++ b/src/Web/FrontModule/Presenter/templates/SignIn.default.latte @@ -3,15 +3,25 @@ {block #content} {control signIn} -
- +
+
+ +
+ {_oauth_divider} +
+
+
+ - {ifset block "login-icon-$oauthType"}{include block "login-icon-$oauthType"}{/ifset} - {_'login_with.' . $oauthType} - + {ifset block "login-icon-$oauthType"}{include block "login-icon-$oauthType"}{/ifset} + {_'login_with.' . $oauthType} + +
diff --git a/translations/App_Web_FrontModule_Presenter_SignInPresenter.cs.neon b/translations/App_Web_FrontModule_Presenter_SignInPresenter.cs.neon index 21952d8..a0ba8bf 100644 --- a/translations/App_Web_FrontModule_Presenter_SignInPresenter.cs.neon +++ b/translations/App_Web_FrontModule_Presenter_SignInPresenter.cs.neon @@ -1,5 +1,6 @@ page_title: Přihlášení forgot_your_password: Zapomenuté heslo? +oauth_divider: Nebo login_with: azure: Přihlásit se přes Azure diff --git a/translations/App_Web_FrontModule_Presenter_SignInPresenter.en.neon b/translations/App_Web_FrontModule_Presenter_SignInPresenter.en.neon index ba89597..7053960 100644 --- a/translations/App_Web_FrontModule_Presenter_SignInPresenter.en.neon +++ b/translations/App_Web_FrontModule_Presenter_SignInPresenter.en.neon @@ -1,5 +1,6 @@ page_title: Sign in forgot_your_password: Forgot Password? +oauth_divider: Or login_with: azure: Sign in with Azure