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:
parent
a6e899b03b
commit
f6266f67bc
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue