RED-6428: Created help mode link for Edit file attribute.
This commit is contained in:
parent
1a55fb7c91
commit
1cfa6acae5
@ -5,13 +5,14 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<ng-container *ngIf="((fileAttributesService.isEditingFileAttribute$ | async) === false || isInEditMode) && !file.isProcessing">
|
<ng-container *ngIf="((fileAttributesService.isEditingFileAttribute$ | async) === false || isInEditMode) && !file.isProcessing">
|
||||||
<div *ngIf="!isInEditMode; else input" class="edit-button">
|
<div *ngIf="!isInEditMode; else input" class="action-buttons edit-button">
|
||||||
<iqser-circle-button
|
<iqser-circle-button
|
||||||
(action)="editFileAttribute($event)"
|
(action)="editFileAttribute($event)"
|
||||||
*ngIf="permissionsService.canEditFileAttributes(file, dossier)"
|
*ngIf="permissionsService.canEditFileAttributes(file, dossier)"
|
||||||
[disabled]="!fileAttribute.editable"
|
[disabled]="!fileAttribute.editable"
|
||||||
[icon]="'iqser:edit'"
|
[icon]="'iqser:edit'"
|
||||||
[tooltip]="'file-attribute.actions.edit' | translate"
|
[tooltip]="'file-attribute.actions.edit' | translate"
|
||||||
|
[iqserHelpMode]="'edit-file-attributes'"
|
||||||
id="edit-attribute-button"
|
id="edit-attribute-button"
|
||||||
></iqser-circle-button>
|
></iqser-circle-button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -6,26 +6,19 @@
|
|||||||
|
|
||||||
.edit-button {
|
.edit-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: none;
|
|
||||||
background: radial-gradient(var(--iqser-side-nav) 10%, rgba(244, 245, 247, 0) 60%);
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 150%;
|
right: 10%;
|
||||||
transform: translate(-25%);
|
width: 90%;
|
||||||
|
background: linear-gradient(to left, var(--iqser-side-nav) 20%, rgba(244, 245, 247, 0) 60%);
|
||||||
|
|
||||||
iqser-circle-button {
|
iqser-circle-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 80%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
.edit-button {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.edit-input {
|
.edit-input {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@ -526,5 +526,11 @@
|
|||||||
"de": "",
|
"de": "",
|
||||||
"it": "",
|
"it": "",
|
||||||
"fr": ""
|
"fr": ""
|
||||||
|
},
|
||||||
|
"edit-file-attributes": {
|
||||||
|
"en": "/en/index-en.html?contextId=document_list",
|
||||||
|
"de": "",
|
||||||
|
"it": "",
|
||||||
|
"fr": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user