add translations, fix colors
This commit is contained in:
parent
8e044a9128
commit
2ed47d9be5
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||
template:
|
||||
"<div class='section flex-align-items-center'>\n" +
|
||||
' <mat-icon [svgIcon]="\'red:needs-work\'"></mat-icon>\n' +
|
||||
" <p class='heading-l'>Redaction is disabled for this document.</p>\n" +
|
||||
" <p class='heading-l'>{{'file-preview.tabs.is-excluded' | translate}}</p>\n" +
|
||||
'</div>',
|
||||
styleUrls: ['./disabled-for-redaction.component.scss']
|
||||
})
|
||||
|
||||
@ -141,6 +141,8 @@
|
||||
<mat-slide-toggle
|
||||
(click)='toggleAnalysis($event)'
|
||||
[checked]='!fileStatus.isExcluded'
|
||||
[matTooltip]="(fileStatus.isExcluded ? 'file-preview.toggle-analysis.enable' : 'file-preview.toggle-analysis.disable') | translate"
|
||||
[matTooltipPosition]='tooltipPosition'
|
||||
color='primary'
|
||||
>
|
||||
</mat-slide-toggle>
|
||||
|
||||
@ -54,11 +54,9 @@ const components = [
|
||||
ProjectDetailsComponent,
|
||||
PageIndicatorComponent,
|
||||
NeedsWorkBadgeComponent,
|
||||
ProjectListingEmptyComponent,
|
||||
AnnotationActionsComponent,
|
||||
ProjectListingEmptyComponent,
|
||||
ProjectListingDetailsComponent,
|
||||
FileActionsComponent,
|
||||
TypeAnnotationIconComponent,
|
||||
TypeFilterComponent,
|
||||
ProjectOverviewBulkActionsComponent,
|
||||
|
||||
@ -112,6 +112,12 @@ cdk-virtual-scroll-viewport {
|
||||
}
|
||||
|
||||
.disabled {
|
||||
background-color: #F4F5F7;
|
||||
color: #9398A0;
|
||||
> div {
|
||||
background-color: $grey-2;
|
||||
color: $grey-7;
|
||||
}
|
||||
|
||||
redaction-file-actions {
|
||||
color: initial;
|
||||
}
|
||||
}
|
||||
|
||||
@ -306,7 +306,12 @@
|
||||
},
|
||||
"annotations": {
|
||||
"label": "Workload"
|
||||
}
|
||||
},
|
||||
"is-excluded": "Redaction is disabled for this document."
|
||||
},
|
||||
"toggle-analysis": {
|
||||
"enable": "Enable for redaction",
|
||||
"disable": "Disable redaction"
|
||||
},
|
||||
"reviewer": "Assigned to",
|
||||
"unassigned": "Unassigned",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user