From 44452ac9eec35a29566ab9604a030a74179b6719 Mon Sep 17 00:00:00 2001 From: argirok Date: Mon, 4 Nov 2024 13:20:17 +0200 Subject: [PATCH] [develop | DONE | CHANGED ] disable links in plugin form. Add a tooltip when disabled --- dashboard/plugins/plugins-form/pluginsForm.component.html | 2 +- dashboard/plugins/utils/pluginUrl.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dashboard/plugins/plugins-form/pluginsForm.component.html b/dashboard/plugins/plugins-form/pluginsForm.component.html index 676af549..ce470244 100644 --- a/dashboard/plugins/plugins-form/pluginsForm.component.html +++ b/dashboard/plugins/plugins-form/pluginsForm.component.html @@ -96,7 +96,7 @@ + class="uk-width-1-1" [previewInAdmin]="true"> diff --git a/dashboard/plugins/utils/pluginUrl.component.ts b/dashboard/plugins/utils/pluginUrl.component.ts index 2cfefcad..eae2a8b0 100644 --- a/dashboard/plugins/utils/pluginUrl.component.ts +++ b/dashboard/plugins/utils/pluginUrl.component.ts @@ -8,7 +8,7 @@ import {RouterModule} from "@angular/router"; imports:[CommonModule, RouterModule], selector: 'plugin-url', template: ` - + @@ -19,6 +19,7 @@ import {RouterModule} from "@angular/router"; [target]="url.target" [class.uk-disabled]=previewInAdmin> {{url.linkText}} + `, standalone :true