Skip to content
Snippets Groups Projects
Verified Commit 5273e4c8 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #254 add msg if limit data reached

parent 80b50c6d
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<mat-spinner style="margin:auto;"></mat-spinner> <mat-spinner style="margin:auto;"></mat-spinner>
</div> </div>
<mat-card *ngIf="!loading" class="card-app-content"> <mat-card *ngIf="!loading" class="card-app-content">
<div class="alert alert-warning" role="alert" [innerHTML]="lang.limitDataReached" *ngIf="data.length == 50000"></div>
<div class="row"> <div class="row">
<div class="col-md-6 col-xs-6"> <div class="col-md-6 col-xs-6">
<mat-form-field> <mat-form-field>
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
<mat-spinner style="margin:auto;"></mat-spinner> <mat-spinner style="margin:auto;"></mat-spinner>
</div> </div>
<mat-card *ngIf="!loading" class="card-app-content"> <mat-card *ngIf="!loading" class="card-app-content">
<div class="alert alert-warning" role="alert" [innerHTML]="lang.limitDataReached" *ngIf="data.length == 50000">
</div>
<div class="row"> <div class="row">
<div class="col-md-6 col-xs-6"> <div class="col-md-6 col-xs-6">
<mat-form-field> <mat-form-field>
......
...@@ -170,6 +170,7 @@ export const LANG_EN = { ...@@ -170,6 +170,7 @@ export const LANG_EN = {
"label" : "Label", "label" : "Label",
"lastname" : "Lastname", "lastname" : "Lastname",
"life_cycle" : "Life cycle", "life_cycle" : "Life cycle",
"limitDataReached" : "You have reached max display datas (<b>50000 datas</b>), refine your <b>date range</b>",
"linkGroup" : "Link a group", "linkGroup" : "Link a group",
"listTemplatesRolesUpdated" : "Roles updated", "listTemplatesRolesUpdated" : "Roles updated",
"logout" : "Logout", "logout" : "Logout",
......
...@@ -184,6 +184,7 @@ export const LANG_FR = { ...@@ -184,6 +184,7 @@ export const LANG_FR = {
"last" : "dernier", "last" : "dernier",
"lastname" : "Nom", "lastname" : "Nom",
"life_cycle" : "Cycle de vie", "life_cycle" : "Cycle de vie",
"limitDataReached" : "Vous avez atteint la limite d'affichage (<b>50000 entrées</b>), veuillez affiner votre <b>plage de dates</b>",
"linkGroup" : "Associer un groupe", "linkGroup" : "Associer un groupe",
"listTemplatesRolesUpdated" : "Rôles modifiés", "listTemplatesRolesUpdated" : "Rôles modifiés",
"logout" : "Se déconnecter", "logout" : "Se déconnecter",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment