{{#if currentUserLoaded}}
@@ -23,14 +23,14 @@
{{/if}}
-
+
{{#if services}} {{! if at least one service is configured }}
{{#if configurationLoaded}}
{{#if dropdown}} {{! if more than one service configured, or password is configured}}
- {{> loginButtonsLoggedOutDropdown}}
+ {{> _loginButtonsLoggedOutDropdown}}
{{else}}
{{#with singleService}} {{! at this point there must be only one configured services }}
- {{> loginButtonsLoggedOutSingleLoginButton}}
+ {{> _loginButtonsLoggedOutSingleLoginButton}}
{{/with}}
{{/if}}
{{/if}}
@@ -40,7 +40,7 @@
-
+
{{#if errorMessage}}
{{errorMessage}}
{{/if}}
diff --git a/packages/accounts-ui-unstyled/login_buttons.js b/packages/accounts-ui-unstyled/login_buttons.js
index c6eeecb842..751fdc47eb 100644
--- a/packages/accounts-ui-unstyled/login_buttons.js
+++ b/packages/accounts-ui-unstyled/login_buttons.js
@@ -19,15 +19,15 @@
// loginButtonLoggedOut template
//
- Template.loginButtonsLoggedOut.dropdown = function () {
+ Template._loginButtonsLoggedOut.dropdown = function () {
return Accounts._loginButtons.dropdown();
};
- Template.loginButtonsLoggedOut.services = function () {
+ Template._loginButtonsLoggedOut.services = function () {
return Accounts._loginButtons.getLoginServices();
};
- Template.loginButtonsLoggedOut.singleService = function () {
+ Template._loginButtonsLoggedOut.singleService = function () {
var services = Accounts._loginButtons.getLoginServices();
if (services.length !== 1)
throw new Error(
@@ -35,7 +35,7 @@
return services[0];
};
- Template.loginButtonsLoggedOut.configurationLoaded = function () {
+ Template._loginButtonsLoggedOut.configurationLoaded = function () {
return Accounts.loginServicesConfigured();
};
@@ -46,11 +46,11 @@
// decide whether we should show a dropdown rather than a row of
// buttons
- Template.loginButtonsLoggedIn.dropdown = function () {
+ Template._loginButtonsLoggedIn.dropdown = function () {
return Accounts._loginButtons.dropdown();
};
- Template.loginButtonsLoggedIn.displayName = function () {
+ Template._loginButtonsLoggedIn.displayName = function () {
return Accounts._loginButtons.displayName();
};
@@ -60,11 +60,11 @@
// loginButtonsMessage template
//
- Template.loginButtonsMessages.errorMessage = function () {
+ Template._loginButtonsMessages.errorMessage = function () {
return loginButtonsSession.get('errorMessage');
};
- Template.loginButtonsMessages.infoMessage = function () {
+ Template._loginButtonsMessages.infoMessage = function () {
return loginButtonsSession.get('infoMessage');
};
diff --git a/packages/accounts-ui-unstyled/login_buttons_dialogs.html b/packages/accounts-ui-unstyled/login_buttons_dialogs.html
index 60c4fde704..a4397af605 100644
--- a/packages/accounts-ui-unstyled/login_buttons_dialogs.html
+++ b/packages/accounts-ui-unstyled/login_buttons_dialogs.html
@@ -1,14 +1,14 @@
- {{> resetPasswordDialog}}
- {{> enrollAccountDialog}}
- {{> justValidatedUserDialog}}
- {{> configureLoginServiceDialog}}
+ {{> _resetPasswordDialog}}
+ {{> _enrollAccountDialog}}
+ {{> _justValidatedUserDialog}}
+ {{> _configureLoginServiceDialog}}
- {{> loginButtonsMessagesDialog}}
+ {{> _loginButtonsMessagesDialog}}
-
+
{{#if inResetPasswordFlow}}
@@ -21,7 +21,7 @@