Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PER-9402 Remove anonymous donation checkbox and text #323

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions src/app/pledge/components/new-pledge/new-pledge.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,10 @@
</div>
<div class="input-vertical checkbox">
<div class="form-check">
<input
class="form-check-input"
type="checkbox"
id="publishName"
formControlName="publishName"
/>
<label class="form-check-label" for="publishName">
<b>Let the world know that I am a Permanent contributor!</b>
</label>
<a href="https://stripe.com" target="_blank">
<img src="assets/img/[email protected]" alt="" />
</a>
</div>
<p class="form-check-description">
When you make a donation or endow storage on Permanent.org, we add your
name to our
<a class="contributors-link" href="https://permanent.org/donate/"
>contributors list</a
>. This helps us build confidence in our nonprofit mission. If you
uncheck this option your contribution will be listed as anonymous.
</p>
</div>
</div>
<button
Expand Down
2 changes: 0 additions & 2 deletions src/app/pledge/components/new-pledge/new-pledge.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export class NewPledgeComponent implements OnInit, AfterViewInit, OnDestroy {
],
customDonationAmount: [''],
name: [account ? account.fullName : '', [Validators.required]],
publishName: [true],
});
}

Expand Down Expand Up @@ -212,7 +211,6 @@ export class NewPledgeComponent implements OnInit, AfterViewInit, OnDestroy {
stripeToken: stripeResult.token.id,
zip: stripeResult.token.card?.address_zip,
timestamp: new Date().getTime(),
anonymous: !formValue.publishName,
};

try {
Expand Down
Loading