Notification updates + import fix + paligo fonts
This commit is contained in:
parent
3828c0bee3
commit
b8b67ec8f2
@ -16,7 +16,7 @@
|
|||||||
class="notification"
|
class="notification"
|
||||||
mat-menu-item
|
mat-menu-item
|
||||||
>
|
>
|
||||||
<redaction-initials-avatar></redaction-initials-avatar>
|
<redaction-initials-avatar [user]="notification.userId"></redaction-initials-avatar>
|
||||||
<div class="notification-content">
|
<div class="notification-content">
|
||||||
<div [innerHTML]="getNotificationMessage(notification)"></div>
|
<div [innerHTML]="getNotificationMessage(notification)"></div>
|
||||||
<div class="small-label mt-2">{{ getTime(notification.creationDate) }}</div>
|
<div class="small-label mt-2">{{ getTime(notification.creationDate) }}</div>
|
||||||
|
|||||||
@ -93,7 +93,6 @@ export class NotificationsComponent {
|
|||||||
for (const key of Object.keys(res)) {
|
for (const key of Object.keys(res)) {
|
||||||
this.groupedNotifications.push({ dateString: key, notifications: res[key] });
|
this.groupedNotifications.push({ dateString: key, notifications: res[key] });
|
||||||
}
|
}
|
||||||
this.groupedNotifications = this.groupedNotifications.reverse();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private _getDossierName(dossierId: string | undefined) {
|
private _getDossierName(dossierId: string | undefined) {
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
import { GenericService, List, QueryParam, RequiredParam, Validate } from '@iqser/common-ui';
|
import { GenericService, HeadersConfiguration, List, QueryParam, RequiredParam, Validate } from '@iqser/common-ui';
|
||||||
import { Injectable, Injector } from '@angular/core';
|
import { Injectable, Injector } from '@angular/core';
|
||||||
import { HeadersConfiguration } from '../../../../../../../../libs/common-ui/src/lib/utils/headers-configuration';
|
|
||||||
import { HttpHeaders, HttpResponse } from '@angular/common/http';
|
import { HttpHeaders, HttpResponse } from '@angular/common/http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
|
|
||||||
|
|||||||
@ -8,9 +8,8 @@ import { TranslateService } from '@ngx-translate/core';
|
|||||||
import { UploadDownloadDialogService } from './upload-download-dialog.service';
|
import { UploadDownloadDialogService } from './upload-download-dialog.service';
|
||||||
import { FileUploadResult } from '@redaction/red-ui-http';
|
import { FileUploadResult } from '@redaction/red-ui-http';
|
||||||
import { isCsv } from '@utils/file-drop-utils';
|
import { isCsv } from '@utils/file-drop-utils';
|
||||||
import { ErrorMessageService, GenericService, RequiredParam, Validate } from '@iqser/common-ui';
|
import { ErrorMessageService, GenericService, HeadersConfiguration, RequiredParam, Validate } from '@iqser/common-ui';
|
||||||
import { DossiersService } from '@services/entity-services/dossiers.service';
|
import { DossiersService } from '@services/entity-services/dossiers.service';
|
||||||
import { HeadersConfiguration } from '../../../../../../../libs/common-ui/src/lib/utils/headers-configuration';
|
|
||||||
|
|
||||||
export interface ActiveUpload {
|
export interface ActiveUpload {
|
||||||
subscription: Subscription;
|
subscription: Subscription;
|
||||||
|
|||||||
@ -1,9 +1,8 @@
|
|||||||
import { Injectable, Injector } from '@angular/core';
|
import { Injectable, Injector } from '@angular/core';
|
||||||
import { GenericService, RequiredParam, Validate } from '@iqser/common-ui';
|
import { GenericService, HeadersConfiguration, RequiredParam, Validate } from '@iqser/common-ui';
|
||||||
import { PlaceholdersResponse, ReportTemplate } from '@redaction/red-ui-http';
|
import { PlaceholdersResponse, ReportTemplate } from '@redaction/red-ui-http';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import { HttpResponse } from '@angular/common/http';
|
import { HttpResponse } from '@angular/common/http';
|
||||||
import { HeadersConfiguration } from '../../../../../libs/common-ui/src/lib/utils/headers-configuration';
|
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root',
|
providedIn: 'root',
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit f7d8b556d3eb926f8f5fbdfd6663518afc298c9e
|
Subproject commit e864fac7cee9bf73120de987ad15cb5d536950eb
|
||||||
@ -1,34 +1,29 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'OpenSans Extrabold';
|
font-family: 'OpenSans';
|
||||||
src: url('../../fonts/OpenSans-ExtraBold.ttf') format('truetype');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Inter';
|
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
src: url('../../fonts/Inter-VariableFont.ttf') format('truetype');
|
src: url('../fonts/OpenSans-VariableFont.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter';
|
font-family: 'OpenSans';
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: url('../../fonts/Inter-VariableFont.ttf') format('truetype');
|
src: url('../fonts/OpenSans-VariableFont.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter';
|
font-family: 'OpenSans';
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
src: url('../../fonts/Inter-VariableFont.ttf') format('truetype');
|
src: url('../fonts/OpenSans-VariableFont.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter';
|
font-family: 'OpenSans';
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
src: url('../../fonts/Inter-VariableFont.ttf') format('truetype');
|
src: url('../fonts/OpenSans-VariableFont.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Inter';
|
font-family: 'OpenSans';
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
src: url('../../font/Inter-VariableFont.ttf') format('truetype');
|
src: url('../font/OpenSans-VariableFont.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
body {
|
body {
|
||||||
color: variables.$accent;
|
color: variables.$accent;
|
||||||
background-color: variables.$grey-9;
|
background-color: variables.$grey-9;
|
||||||
font-family: 'Inter', sans-serif;
|
font-family: 'OpenSans', sans-serif;
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
@ -22,7 +22,7 @@ body {
|
|||||||
p,
|
p,
|
||||||
pre {
|
pre {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: 'Inter', sans-serif;
|
font-family: 'OpenSans', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include common-mixins.scroll-bar;
|
@include common-mixins.scroll-bar;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user