Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit a79c402a authored by Akhil's avatar Akhil 🙂
Browse files

Add build

parent 3af3d849
Loading
Loading
Loading
Loading
Loading
+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"
+3 −3
Original line number Diff line number Diff line
@@ -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) {
@@ -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');