RED-1467
This commit is contained in:
parent
3ab2e93d32
commit
f17e6ab034
@ -56,6 +56,7 @@
|
||||
<!-- ></redaction-circle-button>-->
|
||||
|
||||
<redaction-file-download-btn
|
||||
[disabled]="areSomeEntitiesSelected"
|
||||
[dossier]="activeDossier"
|
||||
[file]="allEntities"
|
||||
tooltipPosition="below"
|
||||
@ -64,9 +65,10 @@
|
||||
<redaction-circle-button
|
||||
(action)="reanalyseDossier()"
|
||||
*ngIf="permissionsService.displayReanalyseBtn()"
|
||||
[disabled]="areSomeEntitiesSelected"
|
||||
[tooltipClass]="'small ' + areSomeEntitiesSelected ? '' : 'warn'"
|
||||
[tooltip]="'dossier-overview.new-rule.toast.actions.reanalyse-all'"
|
||||
icon="red:refresh"
|
||||
tooltipClass="warn small"
|
||||
tooltipPosition="below"
|
||||
type="warn"
|
||||
></redaction-circle-button>
|
||||
|
||||
@ -30,7 +30,7 @@ button {
|
||||
}
|
||||
}
|
||||
|
||||
&.warn {
|
||||
&.warn:not([disabled]) {
|
||||
background-color: $yellow-2;
|
||||
|
||||
&:hover {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<redaction-circle-button
|
||||
(action)="downloadFiles($event)"
|
||||
[disabled]="!canDownloadFiles"
|
||||
[disabled]="disabled || !canDownloadFiles"
|
||||
[tooltipClass]="tooltipClass"
|
||||
[tooltipPosition]="tooltipPosition"
|
||||
[tooltip]="
|
||||
|
||||
@ -20,6 +20,7 @@ export class FileDownloadBtnComponent {
|
||||
@Input() tooltipPosition: 'above' | 'below' | 'before' | 'after' = 'above';
|
||||
@Input() type: 'default' | 'primary' | 'warn' | 'dark-bg' = 'default';
|
||||
@Input() tooltipClass: string;
|
||||
@Input() disabled = false;
|
||||
|
||||
constructor(
|
||||
@Inject(BASE_HREF) private readonly _baseHref: string,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user