-
- {{'createOrganizationCreatePersonalAccount' | i18n}}
-
-
-
-
- {{'emailAddressDesc' | i18n}}
-
-
-
-
- {{'yourNameDesc' | i18n}}
-
-
-
-
-
-
- {{'masterPassHintDesc' | i18n}}
-
-
-
-
- {{'submitAgreePolicies' | i18n}}
- {{'termsOfService' | i18n}},
- {{'privacyPolicy' | i18n}}
-
+
+
-
+
+
+
diff --git a/src/app/accounts/register.component.ts b/src/app/accounts/register.component.ts
index 1dec1b6983..22815af339 100644
--- a/src/app/accounts/register.component.ts
+++ b/src/app/accounts/register.component.ts
@@ -27,6 +27,7 @@ import { PolicyData } from 'jslib/models/data/policyData';
export class RegisterComponent extends BaseRegisterComponent {
showCreateOrgMessage = false;
showTerms = true;
+ layout = '';
enforcedPolicyOptions: MasterPasswordPolicyOptions;
private policies: Policy[];
@@ -73,6 +74,9 @@ export class RegisterComponent extends BaseRegisterComponent {
this.stateService.save('loginRedirect',
{ route: '/settings/create-organization', qParams: { plan: qParams.org } });
}
+ if (qParams.layout != null) {
+ this.layout = qParams.layout;
+ }
if (queryParamsSub != null) {
queryParamsSub.unsubscribe();
}
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 2c694d95fe..6807ec8919 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -148,6 +148,9 @@ export class AppComponent implements OnDestroy, OnInit {
properties: { label: message.label },
});
break;
+ case 'setFullWidth':
+ this.setFullWidth();
+ break;
default:
break;
}
@@ -166,6 +169,8 @@ export class AppComponent implements OnDestroy, OnInit {
}
}
});
+
+ this.setFullWidth();
}
ngOnDestroy() {
@@ -262,4 +267,13 @@ export class AppComponent implements OnDestroy, OnInit {
this.notificationsService.reconnectFromActivity();
}
}
+
+ private async setFullWidth() {
+ const enableFullWidth = await this.storageService.get