add status bar color, update permissions for excluded files

This commit is contained in:
Dan Percic 2021-04-07 00:37:16 +03:00
parent 2ed47d9be5
commit 61364b1925
4 changed files with 8 additions and 0 deletions

View File

@ -207,6 +207,7 @@ export class PermissionsService {
this.isProjectMember() &&
!fileStatus.isProcessing &&
!fileStatus.isError &&
!fileStatus.isExcluded &&
!fileStatus.isApprovedOrUnderApproval &&
(this.isManagerAndOwner() || !this.isFileReviewer(fileStatus))
);

View File

@ -464,6 +464,7 @@
"UNDER_REVIEW": "Under Review",
"UNDER_APPROVAL": "Under Approval",
"APPROVED": "Approved",
"EXCLUDED": "Excluded",
"by": "by",
"efsa": "EFSA Approval",
"finished": "Finished",

View File

@ -141,6 +141,11 @@
background-color: $grey-1;
}
.EXCLUDED {
stroke: $pink-1;
background-color: $pink-1;
}
.ERROR {
stroke: lighten($red-1, 25%);
background-color: lighten($red-1, 25%);

View File

@ -21,6 +21,7 @@ $yellow-2: #fdbd00;
$green-1: #00ff00;
$green-2: #5ce594;
$orange-1: #ff801a;
$pink-1: #F125DE;
$primary: $red-1;
$accent: $grey-1;