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

Making this form more clear #8592

Merged
merged 1 commit into from
Mar 15, 2021
Merged
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
14 changes: 7 additions & 7 deletions app/grants/templates/grants/ingest-contributions.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<h1 class="text-center font-title-xl">Add Missing Contributions</h1>
<p class="text-center font-smaller-1 text-black-60">
If you completed a Gitcoin Grants checkout, but don't see evidence of this in your
email or the Gitcoin interface, you can use this form to fix that!
email or the Gitcoin interface, you can use this form to fix that! This form supports both L1 transactions and L2 transactions (on zkSync).
</p>
</div>

Expand All @@ -65,9 +65,9 @@ <h5 class="mt-4">Instructions</h5>
<div class="col-12 mb-3">
<p class="font-body mb-1">
<ul>
<li>If you donated using L1 (Standard Checkout), please enter the transaction hash</li>
<li>If you donated using L2 (zkSync Checkout), please enter your wallet address</li>
<li>At least one of these two is required</li>
<li>If you donated using L1 (Standard Checkout), please enter the transaction hash. There is no need to also enter your wallet for L1 transactions. *Do not enter a transaction hash for L2 transactions*</li>
<li>If you donated using L2 (zkSync Checkout), please enter your wallet address. *Do not enter a transaction hash for L2 transactions*</li>
<li>At least one of these two pieces of data is required</li>
</ul>
</p>
</div>
Expand All @@ -80,7 +80,7 @@ <h5 class="mt-4">Contribution Data</h5>

<!-- Transaction hash -->
<div class="col-12 mb-3">
<label class="font-caption letter-spacing text-black-60 text-uppercase">Transaction Hash</label>
<label class="font-caption letter-spacing text-black-60 text-uppercase">L1 Transaction Hash</label>
<input id="amount" v-model="form.txHash" name="amount" class="form__input form__input-lg" />
</div>
<div class="col-12 text-danger" v-if="errors.txHash">
Expand All @@ -89,7 +89,7 @@ <h5 class="mt-4">Contribution Data</h5>

<!-- User address -->
<div class="col-12 mb-3">
<label class="font-caption letter-spacing text-black-60 text-uppercase">Wallet Address</label>
<label class="font-caption letter-spacing text-black-60 text-uppercase">Wallet Address for L2 transactions</label>
<input id="amount" v-model="form.userAddress" name="amount" class="form__input form__input-lg" />
</div>

Expand All @@ -110,7 +110,7 @@ <h5 class="mt-4">Contribution Data</h5>
<button class="btn btn-primary btn-lg mb-3 px-5 btn-lg-padding" :disabled="submitted" type="submit" @click="ingest($event)">Add Contributions</button>
</div>
<div class="col-12 text-center" v-if="Object.keys(errors).length > 0">
Please verify forms errors and try again
Please review the form errors and try again.
</div>
<div class="col-12 text-center" v-else-if="submitted">
Processing your contributions. This may take a minute or two...
Expand Down