UI adjustments
This commit is contained in:
parent
d374bb4483
commit
cde3734844
@ -7,13 +7,13 @@
|
||||
|
||||
.breadcrumb {
|
||||
text-decoration: none;
|
||||
color: $grey-7;
|
||||
color: $grey-1;
|
||||
font-weight: 600;
|
||||
width: fit-content;
|
||||
white-space: nowrap;
|
||||
|
||||
&:last-child {
|
||||
color: $accent;
|
||||
color: $primary;
|
||||
@include line-clamp(1);
|
||||
}
|
||||
|
||||
|
||||
@ -195,6 +195,9 @@ export class AnnotationWrapper {
|
||||
|
||||
private static createContent(entry: any) {
|
||||
let content = '';
|
||||
if (entry.matchedRule) {
|
||||
content += 'Rule ' + entry.matchedRule + ' matched \n\n';
|
||||
}
|
||||
if (entry.reason) {
|
||||
content += entry.reason + '\n\n';
|
||||
}
|
||||
|
||||
@ -17,10 +17,11 @@ export interface RedactionLogEntry {
|
||||
id?: string;
|
||||
legalBasis?: string;
|
||||
manual?: boolean;
|
||||
manualRedactionType?: RedactionLogEntry.ManualRedactionTypeEnum;
|
||||
matchedRule?: number;
|
||||
positions?: Array<Rectangle>;
|
||||
reason?: string;
|
||||
redacted?: boolean;
|
||||
manualRedactionType?: string;
|
||||
section?: string;
|
||||
sectionNumber?: number;
|
||||
status?: RedactionLogEntry.StatusEnum;
|
||||
@ -28,6 +29,11 @@ export interface RedactionLogEntry {
|
||||
value?: string;
|
||||
}
|
||||
export namespace RedactionLogEntry {
|
||||
export type ManualRedactionTypeEnum = 'ADD' | 'REMOVE';
|
||||
export const ManualRedactionTypeEnum = {
|
||||
ADD: 'ADD' as ManualRedactionTypeEnum,
|
||||
REMOVE: 'REMOVE' as ManualRedactionTypeEnum
|
||||
};
|
||||
export type StatusEnum = 'REQUESTED' | 'APPROVED' | 'DECLINED';
|
||||
export const StatusEnum = {
|
||||
REQUESTED: 'REQUESTED' as StatusEnum,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user