summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Ritter2019-10-22 10:45:03 +0200
committerSteffen Ritter2019-10-22 10:45:03 +0200
commit73e1b2e79e976f388ebd085fcaa962fbe0e6fed8 (patch)
tree9351230adfa98319b775264e1d2686df10cdde11
parent[server] Disallow deleting busy images, fix multiple clones from master (diff)
downloadtutor-module-73e1b2e79e976f388ebd085fcaa962fbe0e6fed8.tar.gz
tutor-module-73e1b2e79e976f388ebd085fcaa962fbe0e6fed8.tar.xz
tutor-module-73e1b2e79e976f388ebd085fcaa962fbe0e6fed8.zip
[client] Move virtualizer link to branding class
fixes #3655
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/Branding.java4
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/util/DesktopEnvironment.java2
2 files changed, 5 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/Branding.java b/dozentenmodul/src/main/java/org/openslx/dozmod/Branding.java
index 4165c670..1050b0bb 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/Branding.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/Branding.java
@@ -72,6 +72,10 @@ public final class Branding {
return PROPERTIES.getProperty("service.email", "bwlehrpool@hs-offenburg.de");
}
+ public final static String getVirtualizerWebsite() {
+ return PROPERTIES.getProperty("virtualizer.website", "https://www.bwlehrpool.de/doku.php/allgemein/virtualisierer");
+ }
+
public final static String getProxyMode() {
return PROPERTIES.getProperty("proxy.mode", ProxyMode.AUTO.toString());
}
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/util/DesktopEnvironment.java b/dozentenmodul/src/main/java/org/openslx/dozmod/util/DesktopEnvironment.java
index 81125f62..62517e15 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/util/DesktopEnvironment.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/util/DesktopEnvironment.java
@@ -21,7 +21,7 @@ public class DesktopEnvironment {
private static final Desktop desktop = Desktop.isDesktopSupported() ? Desktop.getDesktop() : null;
public static enum Link {
FAQ(Branding.getServiceFAQWebsite()),
- VMWARE("https://www.bwlehrpool.de/doku.php/allgemein/virtualisierer"),
+ VMWARE(Branding.getVirtualizerWebsite()),
//INTRO("http://www.hs-offenburg.de/fileadmin/Einrichtungen/hrz/Projekte/bwLehrpool/3_bwLehrpool_-_Image_einbinden_und_starten.pdf"),
DOZMOD("https://" + App.getMasterServerAddress() + "/dozmod/"),
REGISTER_BWIDM("https://" + App.getMasterServerAddress() + "/webif/");