Skip to content
Snippets Groups Projects
Commit 5578edbb authored by Emiliano Balbuena's avatar Emiliano Balbuena Committed by Mark Harding
Browse files

(fix): Show Pro one-line description on signup modal

parent 0e584de9
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,7 @@ m-modal-signup-on-action {
.m-signup-modal-feature-text {
padding: 0px 8px;
margin: 0px 8px;
min-width: 240px;
}
.m-signup-buttons {
......
......@@ -13,8 +13,15 @@
<!-- Initial Display -->
<div *ngIf="display == 'initial'">
<div class="m-signup-modal-feature-text mdl-card__supporting-text">
We are an open source platform for Internet freedom. Get paid in crypto
for your contributions to the community.
<ng-container *ngIf="description; else defaultDescription">
{{description}}
</ng-container>
<ng-template #defaultDescription>
<ng-container i18n>
We are an open source platform for Internet freedom. Get paid in
crypto for your contributions to the community.
</ng-container>
</ng-template>
</div>
<div class="mdl-card__supporting-text m-signup-buttons">
......
......@@ -184,4 +184,12 @@ export class SignupModal {
this.router.navigateByUrl(this.route);
}
}
get description() {
if (!this.site.isProDomain) {
return '';
}
return this.site.pro.one_line_headline || '';
}
}
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