Commit 3ce68a4b authored by Alex ORLUC's avatar Alex ORLUC

FEAT #12091 TIME 0:10 fix some bugs

parent 2f336a01
<h1 mat-dialog-title>{{data.attachment.identifier}} - {{data.attachment.title}} <button [title]="lang.close" mat-icon-button (click)="dialogRef.close();">
<h1 mat-dialog-title>
<span style="flex: 1;" [title]="data.attachment.title">
<ng-container *ngIf="data.attachment.identifier !== null">
{{data.attachment.identifier}} -
</ng-container>
{{data.attachment.title | shorten: 50: '...'}}
</span>
<button [title]="lang.close" mat-icon-button (click)="dialogRef.close();">
<mat-icon class="fa fa-times"></mat-icon>
</button></h1>
<mat-dialog-content class="modal-container">
......
......@@ -16,7 +16,7 @@
</div>
</ng-template>
<div class="info">
{{attachment.title}}
{{attachment.title | shorten: 110: '...'}}
</div>
<div class="attachmentType">
{{attachment.typeLabel}}
......
......@@ -41,7 +41,7 @@
class="fa fa-chevron-down"></i></button>
<mat-menu #menu="matMenu" [class]="'roleListMenu'">
<ng-container *ngFor="let selectRole of availableRoles">
<button mat-menu-item *ngIf="selectRole.canUpdate && (selectRole.id !== 'dest' && target === 'redirect')"
<button mat-menu-item *ngIf="selectRole.canUpdate || (selectRole.id !== 'dest' && target === 'redirect')"
(click)="changeRole(diffusion,role,selectRole)"
style="font-size:13px;">{{selectRole.label}}</button>
</ng-container>
......
......@@ -17,7 +17,7 @@
</ng-template>
<div class="info" [class.arType]="mail.type === 'aknowledgement_receipt'">
{{mail.object}}
{{mail.object | shorten: 110: '...'}}
</div>
<div class="date">
......
......@@ -1259,7 +1259,7 @@ export const LANG_EN = {
"ARPaper" : "Paper acknowledgement of receipt",
"ARelectronic" : "Electronic acknowledgement of receipt",
"allRoles" : "All roles",
"rolesExceptAssignee" : "Role without assignee",
"rolesExceptAssignee" : "Role(s) without assignee",
"noRole" : "No role",
"diffListPrivilegeMsg" : "Can modify user in roles: ",
"diffListPrivilegeMsgIndexing" : "in indexing page.",
......
......@@ -1296,9 +1296,9 @@ export const LANG_FR = {
"ARPaper" : "Accusé de réception papier",
"ARelectronic" : "Accusé de réception électronique",
"allRoles" : "Tous les rôles",
"rolesExceptAssignee" : "Rôle hors attributaire",
"noRole" : "Aucun Rôle",
"diffListPrivilegeMsg" : "Pouvoir modifier les personnes des rôles suivants: ",
"rolesExceptAssignee" : "Rôle(s) hors attributaire",
"noRole" : "Aucun rôle",
"diffListPrivilegeMsg" : "Pouvoir modifier les personnes des rôles suivants : ",
"diffListPrivilegeMsgIndexing" : "lors de l'enregistrement du courrier.",
"diffListPrivilegeMsgProcess" : "lors du traitement du courrier.",
"recordMail" : "Enregistrer un courrier",
......
......@@ -1284,7 +1284,7 @@ export const LANG_NL = {
"ARPaper" : "Paper acknowledgement of receipt", //_TO_TRANSLATE
"ARelectronic" : "Electronic acknowledgement of receipt", //_TO_TRANSLATE
"allRoles" : "All roles", //_TO_TRANSLATE
"rolesExceptAssignee" : "Role without assignee", //_TO_TRANSLATE
"rolesExceptAssignee" : "Role(s) without assignee", //_TO_TRANSLATE
"noRole" : "No role", //_TO_TRANSLATE
"diffListPrivilegeMsg" : "Can modify user in roles: ", //_TO_TRANSLATE
"diffListPrivilegeMsgIndexing" : "in indexing page.", //_TO_TRANSLATE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment