[Trunk|Library]: Remove missing content error
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55356 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
6af62973a8
commit
2cfe1ae660
|
@ -32,11 +32,6 @@ import {ErrorCodes} from './properties/errorCodes';
|
||||||
<div *ngIf="status.some(checkErrorCode(errorCodes.FORBIDDEN))"
|
<div *ngIf="status.some(checkErrorCode(errorCodes.FORBIDDEN))"
|
||||||
[class]="(tab_error_class ? 'uk-margin-top' : 'uk-animation-fade') + ' uk-alert uk-alert-danger'" role="alert">You are not allowed to access this page
|
[class]="(tab_error_class ? 'uk-margin-top' : 'uk-animation-fade') + ' uk-alert uk-alert-danger'" role="alert">You are not allowed to access this page
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="status.some(checkErrorCode(errorCodes.MISSING_CONTENT))"
|
|
||||||
[class]="(tab_error_class ? 'uk-margin-top' : 'uk-animation-fade') + ' uk-alert uk-alert-warning'" role="alert">
|
|
||||||
Some information failed to be retrieved
|
|
||||||
<!-- An error has not allowed us to retrieve some information-->
|
|
||||||
</div>
|
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -8,5 +8,4 @@ export class ErrorCodes {
|
||||||
public NOT_FOUND = 6;
|
public NOT_FOUND = 6;
|
||||||
public NOT_SAVED = 7;
|
public NOT_SAVED = 7;
|
||||||
public FORBIDDEN = 8;
|
public FORBIDDEN = 8;
|
||||||
public MISSING_CONTENT = 9;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue