RED-6436: Corrected tooltips positions.
This commit is contained in:
parent
9565d4e215
commit
3e2f821576
@ -1,6 +1,8 @@
|
||||
<iqser-circle-button
|
||||
[matMenuTriggerFor]="menu"
|
||||
[showDot]="hasUnreadNotifications$ | async"
|
||||
[tooltip]="'notifications.button-text' | translate"
|
||||
[tooltipPosition]="'below'"
|
||||
buttonId="notification-button"
|
||||
icon="red:notification"
|
||||
></iqser-circle-button>
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
[icon]="'iqser:edit'"
|
||||
[iqserHelpMode]="'dashboard_in_dossier'"
|
||||
[overlappingElements]="['USER_MENU']"
|
||||
[tooltipPosition]="'below'"
|
||||
[tooltip]="'dossier-details.edit-owner' | translate"
|
||||
class="ml-14"
|
||||
></iqser-circle-button>
|
||||
|
||||
@ -13,7 +13,6 @@
|
||||
[files]="entitiesService.all$ | async"
|
||||
[iqserHelpMode]="'edit_dossier_in_dossier'"
|
||||
[overlappingElements]="['USER_MENU']"
|
||||
[tooltipPosition]="'below'"
|
||||
></redaction-file-download-btn>
|
||||
|
||||
<iqser-circle-button
|
||||
@ -23,7 +22,6 @@
|
||||
[icon]="'iqser:csv'"
|
||||
[iqserHelpMode]="'edit_dossier_in_dossier'"
|
||||
[overlappingElements]="['USER_MENU']"
|
||||
[tooltipPosition]="'below'"
|
||||
[tooltip]="'dossier-overview.header-actions.download-csv' | translate"
|
||||
></iqser-circle-button>
|
||||
|
||||
@ -33,7 +31,6 @@
|
||||
[disabled]="listingService.areSomeSelected$ | async"
|
||||
[icon]="'iqser:refresh'"
|
||||
[tooltipClass]="'small warn'"
|
||||
[tooltipPosition]="'below'"
|
||||
[tooltip]="'dossier-overview.new-rule.toast.actions.reanalyse-all' | translate"
|
||||
[type]="circleButtonTypes.warn"
|
||||
></iqser-circle-button>
|
||||
@ -45,7 +42,6 @@
|
||||
[icon]="'iqser:upload'"
|
||||
[iqserHelpMode]="'edit_dossier_in_dossier'"
|
||||
[overlappingElements]="['USER_MENU']"
|
||||
[tooltipPosition]="'below'"
|
||||
[tooltip]="'dossier-overview.header-actions.upload-document' | translate"
|
||||
[type]="circleButtonTypes.primary"
|
||||
class="ml-14"
|
||||
|
||||
@ -9,7 +9,6 @@
|
||||
<iqser-initials-avatar
|
||||
*ngIf="!editingReviewer"
|
||||
[id]="'assignee'"
|
||||
[tooltipPosition]="'below'"
|
||||
[user]="file.assignee"
|
||||
[withName]="!!file.assignee"
|
||||
></iqser-initials-avatar>
|
||||
@ -38,7 +37,6 @@
|
||||
[icon]="'iqser:edit'"
|
||||
[iqserHelpMode]="'document_features_in_editor'"
|
||||
[overlappingElements]="['USER_MENU']"
|
||||
[tooltipPosition]="'below'"
|
||||
[tooltip]="assignTooltip$ | async"
|
||||
></iqser-circle-button>
|
||||
|
||||
@ -46,7 +44,6 @@
|
||||
(action)="fileAssignService.assignToMe([file])"
|
||||
*ngIf="canAssignToSelf$ | async"
|
||||
[icon]="'red:assign-me'"
|
||||
[tooltipPosition]="'below'"
|
||||
[tooltip]="'file-preview.assign-me' | translate"
|
||||
buttonId="assign-me"
|
||||
></iqser-circle-button>
|
||||
|
||||
@ -4,12 +4,13 @@
|
||||
[class.active]="viewMode === viewModes.STANDARD"
|
||||
[iqserHelpMode]="'views'"
|
||||
[matTooltip]="'file-preview.standard-tooltip' | translate"
|
||||
[matTooltipPosition]="'above'"
|
||||
class="red-tab"
|
||||
>
|
||||
{{ 'file-preview.standard' | translate }}
|
||||
</button>
|
||||
|
||||
<div [matTooltip]="'file-preview.delta-tooltip' | translate">
|
||||
<div [matTooltip]="'file-preview.delta-tooltip' | translate" [matTooltipPosition]="'above'">
|
||||
<button
|
||||
(click)="switchView(viewModes.DELTA)"
|
||||
*deny="roles.getRss"
|
||||
@ -22,7 +23,7 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div [matTooltip]="'file-preview.redacted-tooltip' | translate">
|
||||
<div [matTooltip]="'file-preview.redacted-tooltip' | translate" [matTooltipPosition]="'above'">
|
||||
<button
|
||||
(click)="switchView(viewModes.REDACTED)"
|
||||
*deny="roles.getRss"
|
||||
@ -35,7 +36,7 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div [matTooltip]="'file-preview.text-highlights-tooltip' | translate">
|
||||
<div [matTooltip]="'file-preview.text-highlights-tooltip' | translate" [matTooltipPosition]="'above'">
|
||||
<button
|
||||
(click)="switchView(viewModes.TEXT_HIGHLIGHTS)"
|
||||
*deny="roles.getRss"
|
||||
|
||||
@ -47,7 +47,6 @@
|
||||
[icon]="fullScreen ? 'red:exit-fullscreen' : 'red:fullscreen'"
|
||||
[tooltip]="'file-preview.fullscreen' | translate"
|
||||
class="ml-2"
|
||||
tooltipPosition="below"
|
||||
></iqser-circle-button>
|
||||
|
||||
<!-- Dev Mode Features-->
|
||||
@ -58,7 +57,6 @@
|
||||
[type]="circleButtonTypes.primary"
|
||||
class="ml-8"
|
||||
icon="iqser:download"
|
||||
tooltipPosition="below"
|
||||
></iqser-circle-button>
|
||||
|
||||
<!-- End Dev Mode Features-->
|
||||
@ -70,7 +68,6 @@
|
||||
[tooltip]="'common.close' | translate"
|
||||
class="ml-8"
|
||||
icon="iqser:close"
|
||||
tooltipPosition="below"
|
||||
></iqser-circle-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -8,7 +8,7 @@ import {
|
||||
getCurrentUser,
|
||||
IConfirmationDialogData,
|
||||
IqserPermissionsService,
|
||||
IqserTooltipPosition,
|
||||
IqserTooltipPositions,
|
||||
LoadingService,
|
||||
OverlappingElements,
|
||||
ScrollableParentView,
|
||||
@ -76,7 +76,7 @@ export class FileActionsComponent implements OnChanges {
|
||||
isDossierOverviewList = false;
|
||||
isDossierOverviewWorkflow = false;
|
||||
isFilePreview = false;
|
||||
tooltipPosition: IqserTooltipPosition;
|
||||
tooltipPosition = IqserTooltipPositions.above;
|
||||
buttons: Action[];
|
||||
|
||||
scrollableParentView: ScrollableParentView;
|
||||
@ -416,8 +416,6 @@ export class FileActionsComponent implements OnChanges {
|
||||
this.isDossierOverview = this.type.startsWith('dossier-overview');
|
||||
this.isFilePreview = this.type === 'file-preview';
|
||||
|
||||
this.tooltipPosition = this.isFilePreview ? 'below' : 'above';
|
||||
|
||||
this.assignTooltip = this.file.isUnderApproval ? _('dossier-overview.assign-approver') : _('dossier-overview.assign-reviewer');
|
||||
this.buttonType = this.isFilePreview ? CircleButtonTypes.default : CircleButtonTypes.dark;
|
||||
this.showAssign =
|
||||
|
||||
@ -6,6 +6,9 @@
|
||||
},
|
||||
"multiple-values": ""
|
||||
},
|
||||
"user-menu": {
|
||||
"button-text": ""
|
||||
},
|
||||
"account-settings": "Account Einstellungen",
|
||||
"actions": {
|
||||
"all": "Alle",
|
||||
@ -1767,7 +1770,8 @@
|
||||
"deleted-dossier": "",
|
||||
"label": "Benachrichtigungen",
|
||||
"mark-all-as-read": "Alle als gelesen markieren",
|
||||
"mark-as": ""
|
||||
"mark-as": "",
|
||||
"button-text": ""
|
||||
},
|
||||
"ocr": {
|
||||
"confirmation-dialog": {
|
||||
|
||||
@ -6,6 +6,9 @@
|
||||
},
|
||||
"multiple-values": "Multiple recommendations selected"
|
||||
},
|
||||
"user-menu": {
|
||||
"button-text": "User menu"
|
||||
},
|
||||
"account-settings": "Account Settings",
|
||||
"actions": {
|
||||
"all": "All",
|
||||
@ -1767,7 +1770,8 @@
|
||||
"deleted-dossier": "Deleted Dossier",
|
||||
"label": "Notifications",
|
||||
"mark-all-as-read": "Mark all as read",
|
||||
"mark-as": "Mark as {type, select, read{read} unread{unread} other{}}"
|
||||
"mark-as": "Mark as {type, select, read{read} unread{unread} other{}}",
|
||||
"button-text": "Notifications"
|
||||
},
|
||||
"ocr": {
|
||||
"confirmation-dialog": {
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit ba21886e27187490c526816c4692c541384e1f5f
|
||||
Subproject commit bb562d63fd5ccc353c71b1ca026caa8de5a42926
|
||||
Loading…
x
Reference in New Issue
Block a user