From 8c73862881b7df056822288f15fc745d87162de5 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sun, 15 Feb 2026 15:58:59 +0100 Subject: [PATCH] Re-organized plugin details --- .../Pages/Information.razor | 59 ++++++++++++------- 1 file changed, 37 insertions(+), 22 deletions(-) diff --git a/app/MindWork AI Studio/Pages/Information.razor b/app/MindWork AI Studio/Pages/Information.razor index 94f333a2..fd6b4cf0 100644 --- a/app/MindWork AI Studio/Pages/Information.razor +++ b/app/MindWork AI Studio/Pages/Information.razor @@ -64,13 +64,17 @@ @foreach (var plug in this.configPlugins) { - + +
+ + @plug.Name +
@T("Configuration plugin ID:") @plug.Id
-
+ }
@@ -97,20 +101,22 @@ @foreach (var env in EnterpriseEnvironmentService.CURRENT_ENVIRONMENTS.Where(e => e.IsActive)) { - + +
+ + @T("Pending configuration") +
@T("Enterprise configuration ID:") @env.ConfigurationId
-
- -
+
@T("Configuration server:") @env.ConfigurationServerUrl
- + }
@@ -137,30 +143,39 @@ @foreach (var env in EnterpriseEnvironmentService.CURRENT_ENVIRONMENTS.Where(e => e.IsActive)) { - + var matchingPlugin = this.configPlugins.FirstOrDefault(p => p.Id == env.ConfigurationId); + +
+ @if (matchingPlugin is not null) + { + + @matchingPlugin.Name + } + else + { + + @T("Pending configuration") + } +
@T("Enterprise configuration ID:") @env.ConfigurationId
-
- -
+
@T("Configuration server:") @env.ConfigurationServerUrl
- - } - @foreach (var plug in this.configPlugins) - { - -
- - @T("Configuration plugin ID:") @plug.Id - -
-
+ @if (matchingPlugin is not null) + { +
+ + @T("Configuration plugin ID:") @matchingPlugin.Id + +
+ } + }