1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

Added missing branding cases in branding.js

Signed-off-by: SystemsPurge <naktiyoussef@proton.me>
This commit is contained in:
SystemsPurge 2025-01-08 12:52:38 +01:00
parent a6e899b03b
commit f6266f67bc
No known key found for this signature in database

View file

@ -55,6 +55,9 @@ class Branding {
case 'template':
this.values = template_values;
break;
case 'kopernikus':
this.values = kopernikus_values
break;
default:
console.error("Branding '" + this.brand + "' not available, will use 'villasweb' branding");
this.brand = 'villasweb';
@ -78,6 +81,9 @@ class Branding {
case 'template':
homepage = template_home();
break;
case "kopernikus":
homepage = kopernikus_home();
break;
default:
homepage = villasweb_home(this.getTitle(), username, userid, role);
break;
@ -116,6 +122,9 @@ class Branding {
case 'template':
welcome = template_welcome();
break;
case "kopernikus":
welcome = kopernikus_welcome();
break;
default:
welcome = this.defaultWelcome();
break;