diff --git a/dashboard/plugins/components/stats/plugin-stats.component.html b/dashboard/plugins/components/stats/plugin-stats.component.html index 2e62ef6c..580d04f4 100644 --- a/dashboard/plugins/components/stats/plugin-stats.component.html +++ b/dashboard/plugins/components/stats/plugin-stats.component.html @@ -1,4 +1,9 @@

{{pluginObject.title}}

+ + {{pluginObject.url.linkText}} + +
diff --git a/dashboard/plugins/components/stats/plugin-stats.component.ts b/dashboard/plugins/components/stats/plugin-stats.component.ts index 1d96976e..78854773 100644 --- a/dashboard/plugins/components/stats/plugin-stats.component.ts +++ b/dashboard/plugins/components/stats/plugin-stats.component.ts @@ -1,10 +1,11 @@ import {Component} from '@angular/core'; -import {PluginBaseComponent, PluginBaseInfo} from "../../utils/base-plugin.component"; +import {PluginBaseComponent, PluginBaseInfo, PluginURL} from "../../utils/base-plugin.component"; import {HttpClient} from "@angular/common/http"; export class PluginStats extends PluginBaseInfo{ title = "Indicators" disabledIndicators = []; + url:PluginURL = new PluginURL("123", "More","_blank", false); compare(oldObject): any { diff --git a/dashboard/plugins/components/stats/plugin-stats.form.component.ts b/dashboard/plugins/components/stats/plugin-stats.form.component.ts index 1283b7f3..a3770b27 100644 --- a/dashboard/plugins/components/stats/plugin-stats.form.component.ts +++ b/dashboard/plugins/components/stats/plugin-stats.form.component.ts @@ -8,7 +8,15 @@ import {PluginStats} from "./plugin-stats.component";
- +
External Link
+
+ +
+
+ +
@@ -23,7 +31,7 @@ import {PluginStats} from "./plugin-stats.component"; -
Chart indicators
+
Chart indicators
@@ -63,5 +71,11 @@ export class PluginStatsFormComponent extends PluginBaseFormComponent