mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
remove blue success label from the dialog (#2494)
This commit is contained in:
committed by
Eugenio Romano
parent
5d77060cd4
commit
1cafaa11f1
@@ -26,10 +26,6 @@
|
|||||||
<mat-icon class="error-icon">warning</mat-icon>
|
<mat-icon class="error-icon">warning</mat-icon>
|
||||||
<span class="login-error-message">{{errorMsg | translate }}</span>
|
<span class="login-error-message">{{errorMsg | translate }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="success" id="login-success" data-automation-id="login-success"
|
|
||||||
class="adf-login-message">
|
|
||||||
{{'LOGIN.MESSAGES.LOGIN-SUCCESS' | translate }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--USERNAME FIELD-->
|
<!--USERNAME FIELD-->
|
||||||
|
@@ -224,10 +224,6 @@
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.adf-login-message {
|
|
||||||
color: blue;
|
|
||||||
}
|
|
||||||
|
|
||||||
.adf-full-width {
|
.adf-full-width {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@@ -523,8 +523,6 @@ describe('AlfrescoLogin', () => {
|
|||||||
|
|
||||||
expect(component.error).toBe(false);
|
expect(component.error).toBe(false);
|
||||||
expect(component.success).toBe(true);
|
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({
|
expect(component.onSuccess.emit).toHaveBeenCalledWith({
|
||||||
token: true,
|
token: true,
|
||||||
username: 'fake-username',
|
username: 'fake-username',
|
||||||
|
@@ -13,7 +13,6 @@
|
|||||||
"PASSWORD-REQUIRED": "Enter your password to sign in",
|
"PASSWORD-REQUIRED": "Enter your password to sign in",
|
||||||
"LOGIN-ERROR-CREDENTIALS": "You've entered an unknown username or password",
|
"LOGIN-ERROR-CREDENTIALS": "You've entered an unknown username or password",
|
||||||
"LOGIN-ERROR-PROVIDERS": "Providers cannot be undefined",
|
"LOGIN-ERROR-PROVIDERS": "Providers cannot be undefined",
|
||||||
"LOGIN-SUCCESS": "Sign in successful",
|
|
||||||
"LOGIN-ERROR-CORS": "CORS exception, check your server configuration",
|
"LOGIN-ERROR-CORS": "CORS exception, check your server configuration",
|
||||||
"LOGIN-ERROR-CSRF": "CSRF exception, set [disableCsrf]=\"true\" in login.component",
|
"LOGIN-ERROR-CSRF": "CSRF exception, set [disableCsrf]=\"true\" in login.component",
|
||||||
"LOGIN-ECM-LICENSE": "Alfresco Content Services repository is in read-only mode"
|
"LOGIN-ECM-LICENSE": "Alfresco Content Services repository is in read-only mode"
|
||||||
|
Reference in New Issue
Block a user