remove blue success label from the dialog (#2494)

This commit is contained in:
Denys Vuika
2017-10-18 15:32:53 +01:00
committed by Eugenio Romano
parent 5d77060cd4
commit 1cafaa11f1
4 changed files with 0 additions and 11 deletions

View File

@@ -26,10 +26,6 @@
<mat-icon class="error-icon">warning</mat-icon>
<span class="login-error-message">{{errorMsg | translate }}</span>
</div>
<div *ngIf="success" id="login-success" data-automation-id="login-success"
class="adf-login-message">
{{'LOGIN.MESSAGES.LOGIN-SUCCESS' | translate }}
</div>
</div>
<!--USERNAME FIELD-->

View File

@@ -224,10 +224,6 @@
display: block;
}
.adf-login-message {
color: blue;
}
.adf-full-width {
width: 100%;
}

View File

@@ -523,8 +523,6 @@ describe('AlfrescoLogin', () => {
expect(component.error).toBe(false);
expect(component.success).toBe(true);
expect(element.querySelector('#login-success')).toBeDefined();
expect(element.querySelector('#login-success').innerHTML).toContain('LOGIN.MESSAGES.LOGIN-SUCCESS');
expect(component.onSuccess.emit).toHaveBeenCalledWith({
token: true,
username: 'fake-username',

View File

@@ -13,7 +13,6 @@
"PASSWORD-REQUIRED": "Enter your password to sign in",
"LOGIN-ERROR-CREDENTIALS": "You've entered an unknown username or password",
"LOGIN-ERROR-PROVIDERS": "Providers cannot be undefined",
"LOGIN-SUCCESS": "Sign in successful",
"LOGIN-ERROR-CORS": "CORS exception, check your server configuration",
"LOGIN-ERROR-CSRF": "CSRF exception, set [disableCsrf]=\"true\" in login.component",
"LOGIN-ECM-LICENSE": "Alfresco Content Services repository is in read-only mode"