diff options
author | Jonathan Bauer | 2019-01-31 16:22:50 +0100 |
---|---|---|
committer | Jonathan Bauer | 2019-01-31 16:22:50 +0100 |
commit | e025340c3e3056ca050b52ad05271a43846a2642 (patch) | |
tree | 733ca7ea725a84f5870827f7e89e3f9c08b59680 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java | |
parent | [*] Fix accidental use of Boolean.getBoolean. (-> .parseBoolean()) (diff) | |
download | tutor-module-e025340c3e3056ca050b52ad05271a43846a2642.tar.gz tutor-module-e025340c3e3056ca050b52ad05271a43846a2642.tar.xz tutor-module-e025340c3e3056ca050b52ad05271a43846a2642.zip |
[client] introduce branding, --dump and --pack
Application name, service name, master server endpoints, documentation
websites needed to be configurable to allow for an easy rebranding of
the suite.
Two new options allow this: use '--dump <folder>' to dump the jar's
configurable files into that folder. Aside from text templates in 'txt',
logos and icons in 'img', the 'branding.properties' file contains:
* masterserver.address : self-explanatory
* application.name : name to be shown on graphical elements like the
main window
* service.name : name to be used as a prefix for formulation like
'bwLehrpool-Team' or 'bwLehrpool-System' etc
* service.faq.website : link to FAQ website
* service.email : support contact address
Once edited, the whole folder can be integrated into the Suite with
'--pack <folder> <new_jar>'. The path to the new jar is then the
rebranded version of the suite.
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java index 1dacf8df..396e58a6 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java @@ -40,6 +40,7 @@ import org.openslx.bwlp.thrift.iface.OperatingSystem; import org.openslx.bwlp.thrift.iface.ShareMode; import org.openslx.bwlp.thrift.iface.UserInfo; import org.openslx.bwlp.thrift.iface.Virtualizer; +import org.openslx.dozmod.Branding; import org.openslx.dozmod.gui.Gui; import org.openslx.dozmod.gui.MainWindow; import org.openslx.dozmod.gui.changemonitor.AbstractControlWrapper; @@ -536,8 +537,8 @@ public class ImageDetailsWindow extends ImageDetailsWindowLayout implements UiFe // Inform user Gui.showMessageBox(ImageDetailsWindow.this, "Die Übertragung läuft direkt zwischen Satellitenserver und" - + " dem Zentral-Server in Freiburg.\n" - + "Wenn Sie die bwLehrpool-Suite schließen, wird der Transfer trotzdem" + + " dem " + Branding.getServiceName() + " Zentral-Server.\n" + + "Wenn Sie die " + Branding.getApplicationName() + " schließen, wird der Transfer trotzdem" + "weiterlaufen.", MessageType.INFO, null, null); } |