Skip to content
Snippets Groups Projects
Unverified Commit 780da142 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Set default app shell name and remove shell-name and shell-subname attributes

parent 54953798
No related branches found
No related tags found
No related merge requests found
Pipeline #45009 failed
......@@ -30,10 +30,6 @@ npm i @dbp-toolkit/app-shell
- example `<dbp-app-shell matomo-site-id="456789"></dbp-app-shell>`
- `no-welcome-page` (optional): skips the welcome page and welcome page isn't visible in menu
- example `<dbp-app-shell no-welcome-page></dbp-app-shell>`
- `shell-name` (optional, default: ``): sets the shell name in the left upper corner of the header
- example `<dbp-app-shell shell-name="Testpage"></dbp-app-shell>`
- `shell-subname` (optional, default: ``): sets the shell subname in the left upper corner of the header
- example `<dbp-app-shell shell-name="Testpage subtitle"></dbp-app-shell>`
- `no-brand` (optional): disables the logo in the right upper corner of the header
- example `<dbp-app-shell no-brand></dbp-app-shell>`
......
......@@ -68,8 +68,6 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) {
this._attrObserver = new MutationObserver(this.onAttributeObserved);
this.shellName = '';
this.shellSubname= '';
this.noBrand = false;
this.auth = {};
}
......@@ -244,8 +242,6 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) {
matomoUrl: { type: String, attribute: "matomo-url" },
matomoSiteId: { type: Number, attribute: "matomo-site-id" },
noWelcomePage: { type: Boolean, attribute: "no-welcome-page" },
shellName: { type: String, attribute: "shell-name" },
shellSubname: { type: String, attribute: "shell-subname" },
noBrand: { type: Boolean, attribute: "no-brand" },
gitInfo: { type: String, attribute: "git-info" },
buildUrl: { type: String, attribute: "build-url" },
......@@ -891,7 +887,7 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) {
</div>
<div class="hd2-left">
<div class="header">
<slot name="name">${this.shellName}<br>${this.shellSubname}</slot>
<slot name="name">Digital Blueprint</slot>
</div>
</div>
<div class="hd2-right">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment