{{! put loginButtons in a wrapper element which should be styled to make
any dropdowns open with their right edge aligned with the right edge of
their container, sticking out to the left. }}
{{> _loginButtons}}
{{> _loginButtons}}
{{#if currentUser}}
{{> _loginButtonsLoggedIn}}
{{else}}
{{> _loginButtonsLoggedOut}}
{{/if}}
{{#if dropdown}}
{{> _loginButtonsLoggedInDropdown}}
{{else}}
Sign Out
{{/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}}
{{else}}
{{#with singleService}} {{! at this point there must be only one configured services }}
{{> _loginButtonsLoggedOutSingleLoginButton}}
{{/with}}
{{/if}}
{{/if}}
{{else}}
No login services configured
{{/if}}
{{#if errorMessage}}
{{errorMessage}}
{{/if}}
{{#if infoMessage}}
{{infoMessage}}
{{/if}}