Loading .gitlab-ci.yml +4 −2 Original line number Diff line number Diff line variables: TO_PACKAGE: 'appinfo css js lib templates' include: - project: "e/infra/ecloud/nextcloud-apps/ci-templates" ref: main file: "nc-apps-checkout-deploy.yml" file: "nc-apps-lint-build-frontend.yml" - project: "e/infra/ecloud/nextcloud-apps/ci-templates" ref: main file: "nc-apps-deploy.yml" lib/Listeners/BeforeTemplateRenderedListener.php +3 −3 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ class BeforeTemplateRenderedListener implements IEventListener { return; } if ($this->userSession->isLoggedIn()) { $this->util->addScript($this->appName, 'theme-helper-main'); $this->util->addScript($this->appName, $this->appName . '-theme-helper-main'); $this->util->addStyle($this->appName, 'icons'); } if (strpos($this->request->getPathInfo(), '/apps/cookbook/') !== false) { Loading @@ -34,11 +34,11 @@ class BeforeTemplateRenderedListener implements IEventListener { } $response = $event->getResponse(); if ($this->request->getPathInfo() === '/settings/user' && $response->getTemplateName() === 'settings/frame') { $this->util->addScript($this->appName, 'personal-info-settings'); $this->util->addScript($this->appName, $this->appName . '-personal-info-settings'); $this->util->addStyle($this->appName, 'personal-info-settings'); } if ($this->request->getPathInfo() === '/settings/user/security') { $this->util->addScript($this->appName, 'settings-user-security'); $this->util->addScript($this->appName, $this->appName . '-settings-user-security'); } if ($this->request->getPathInfo() === '/settings/user/drop_account' && $response->getTemplateName() === 'settings/frame') { $this->util->addStyle($this->appName, 'settings-drop-account'); Loading Loading
.gitlab-ci.yml +4 −2 Original line number Diff line number Diff line variables: TO_PACKAGE: 'appinfo css js lib templates' include: - project: "e/infra/ecloud/nextcloud-apps/ci-templates" ref: main file: "nc-apps-checkout-deploy.yml" file: "nc-apps-lint-build-frontend.yml" - project: "e/infra/ecloud/nextcloud-apps/ci-templates" ref: main file: "nc-apps-deploy.yml"
lib/Listeners/BeforeTemplateRenderedListener.php +3 −3 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ class BeforeTemplateRenderedListener implements IEventListener { return; } if ($this->userSession->isLoggedIn()) { $this->util->addScript($this->appName, 'theme-helper-main'); $this->util->addScript($this->appName, $this->appName . '-theme-helper-main'); $this->util->addStyle($this->appName, 'icons'); } if (strpos($this->request->getPathInfo(), '/apps/cookbook/') !== false) { Loading @@ -34,11 +34,11 @@ class BeforeTemplateRenderedListener implements IEventListener { } $response = $event->getResponse(); if ($this->request->getPathInfo() === '/settings/user' && $response->getTemplateName() === 'settings/frame') { $this->util->addScript($this->appName, 'personal-info-settings'); $this->util->addScript($this->appName, $this->appName . '-personal-info-settings'); $this->util->addStyle($this->appName, 'personal-info-settings'); } if ($this->request->getPathInfo() === '/settings/user/security') { $this->util->addScript($this->appName, 'settings-user-security'); $this->util->addScript($this->appName, $this->appName . '-settings-user-security'); } if ($this->request->getPathInfo() === '/settings/user/drop_account' && $response->getTemplateName() === 'settings/frame') { $this->util->addStyle($this->appName, 'settings-drop-account'); Loading