Skip to content

Commit 98a2c59

Browse files
authored
Merge pull request HDInnovations#5344 from Oha-you/donation-fixes-3
(Fix) Donation modal, replace hardcoded $, fix grammar and letter case
2 parents 26f8a49 + 7574500 commit 98a2c59

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

resources/views/donation/index.blade.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ class="form__button form__button--filled form__button--centered"
115115

116116
@foreach ($packages as $package)
117117
<dialog class="dialog" x-ref="dialog{{ $package->id }}">
118-
<h4 class="dialog__heading">Donate $ {{ $package->cost }} USD</h4>
118+
<h4 class="dialog__heading">
119+
Donate {{ $package->cost }} {{ config('donation.currency') }}
120+
</h4>
119121
<form
120122
class="dialog__form"
121123
method="POST"
@@ -148,10 +150,10 @@ class="form__label form__label--floating"
148150
<p class="text-info">
149151
Send
150152
<strong>
151-
$ {{ $package->cost }} {{ config('donation.currency') }}
153+
{{ $package->cost }} {{ config('donation.currency') }}
152154
</strong>
153-
to gateway of your choice. Take note of the tx hash, receipt number, etc
154-
and input it below.
155+
to the gateway of your choice. Take note of the Tx hash, receipt number,
156+
etc. and input it below.
155157
</p>
156158
</div>
157159
<div class="form__group--horizontal">
@@ -164,7 +166,7 @@ class="form__text"
164166
id="package-cost"
165167
/>
166168
<label for="package-cost" class="form__label form__label--floating">
167-
Cost
169+
Cost ({{ config('donation.currency') }})
168170
</label>
169171
</p>
170172
<p class="form__group">
@@ -176,7 +178,7 @@ class="form__text"
176178
name="transaction"
177179
/>
178180
<label for="proof" class="form__label form__label--floating">
179-
Tx hash, Receipt number, Etc
181+
Tx hash, receipt number, etc.
180182
</label>
181183
</p>
182184
</div>

0 commit comments

Comments
 (0)