Skip to content
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
8 changes: 8 additions & 0 deletions app/assets/stylesheets/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ ul {
.click_donate {
margin: 2rem 0 2rem 0;
}

.donate_method {
border: 1px solid #ddd;
padding: 16px;
border-radius: 8px;
margin-bottom: 16px;
background-color: #f9f9f9;
}
}

.reg_button {
Expand Down
51 changes: 41 additions & 10 deletions app/views/donations/how_to_donate.html.erb
Original file line number Diff line number Diff line change
@@ -1,15 +1,46 @@
<div class="content-wrapper">
<div class="donate_instructions">
<h2>Here are instructions on how to donate:</h2>
<ol>
<li> Click the link below</li>
<li> Write in <strong>$45</strong> a month and select <strong>"recurring payment"</strong> </li>
<li> Choose <strong>"Other - Put details in comments below"</strong> from <strong>"My donations is for"</strong> field</li>
<li> Fill in necessary details</li>
<li> Write in the <strong>"Comments"</strong> text area - <strong>"7580 Adventist Learning Center"</strong></li>
<li> If your donation is for a <i><strong>particular student</strong></i> write in the <strong>"Comments"</strong> text area - <strong>"7580 Adventist Learning Center Donate ID: {Donate ID of a specific student}"</strong></li>
</ol>
<p class="click_donate">Click <a href="https://www.adventistmission.org/donate" target="_blank" rel="noopener" class="donate_link">Donate</a></p>

<div class="donate_method">
<h3>Option 1: Donate via Zelle or PayPal</h3>
<ul>
<li>
<p>
<strong>Zelle:</strong> Send to
<a href="mailto:ShareAnniesHope@gmail.com">ShareAnniesHope@gmail.com</a>
</p>
</li>
<li>
<p>
<strong>PayPal:</strong>
<a href="https://www.paypal.com/donate?hosted_button_id=69RAXQX8J8NSG"
target="_blank" rel="noopener">Click here to donate</a>
</p>
</li>
</ul>
</div>

<div class="donate_method">
<h3>Option 2: Donate via Adventist Mission</h3>
<ol>
<li>Click the link below</li>
<li>Write in <strong>$45</strong> a month and select <strong>"recurring payment"</strong></li>
<li>Choose <strong>"Other - Put details in comments below"</strong> from the <strong>"My donation is for"</strong> field</li>
<li>Fill in necessary details</li>
<li>Write in the <strong>"Comments"</strong> text area: <strong>"7580 Adventist Learning Center"</strong></li>
<li>
If your donation is for a <i><strong>particular student</strong></i>, write in the
<strong>"Comments"</strong> text area:
<strong>"7580 Adventist Learning Center Donate ID: {Donate ID of a specific student}"</strong>
</li>
</ol>
<p class="click_donate">
Click
<a href="https://www.adventistmission.org/donate" target="_blank" rel="noopener" class="donate_link">Donate</a>
</p>
</div>

<p>Thank you for your support!</p>
</div>
</div>
</div>
48 changes: 40 additions & 8 deletions app/views/students/sponsor_individual_student.html.erb
Original file line number Diff line number Diff line change
@@ -1,14 +1,46 @@
<div class="content-wrapper">
<div class="donate_instructions">
<h2>Here are instructions on how to sponsor <%= @student.name %>:</h2>
<ol>
<li> Click the link below</li>
<li> Write in <strong>$45</strong> a month and select <strong>"recurring payment"</strong> </li>
<li> Choose <strong>"Other - Put details in comments below"</strong> from <strong>"My donations is for"</strong> field</li>
<li> Fill in necessary details</li>
<li> Write in the <strong>"Comments"</strong> text area - <strong>"7580 Adventist Learning Center Donate ID: <%= @student.unique_identifier %>"</strong></li>
</ol>
<p class="click_donate">Click <a href="https://www.adventistmission.org/donate" target="_blank" rel="noopener" class="donate_link">Donate</a></p>

<div class="donate_method">
<h3>Option 1: Donate via Zelle or PayPal</h3>
<ul>
<li>
<p>
<strong>Zelle:</strong> Send to
<a href="mailto:ShareAnniesHope@gmail.com">ShareAnniesHope@gmail.com</a>
</p>
<p>(Make sure to include <strong>"Sponsor ID: <%= @student.unique_identifier %>"</strong> in the memo)</p>
</li>
<li>
<p>
<strong>PayPal:</strong>
<a href="https://www.paypal.com/donate?hosted_button_id=69RAXQX8J8NSG"
target="_blank" rel="noopener">Click here to donate</a>
</p>
<p>(Make sure to include <strong>"Sponsor ID: <%= @student.unique_identifier %>"</strong> in the notes)</p>
</li>
</ul>
</div>

<div class="donate_method">
<h3>Option 2: Donate via Adventist Mission</h3>
<ol>
<li>Click the link below</li>
<li>Write in <strong>$45</strong> a month and select <strong>"recurring payment"</strong></li>
<li>Choose <strong>"Other - Put details in comments below"</strong> from the <strong>"My donation is for"</strong> field</li>
<li>Fill in necessary details</li>
<li>
Write in the <strong>"Comments"</strong> text area:
<strong>"7580 Adventist Learning Center Donate ID: <%= @student.unique_identifier %>"</strong>
</li>
</ol>
<p class="click_donate">
Click
<a href="https://www.adventistmission.org/donate" target="_blank" rel="noopener" class="donate_link">Donate</a>
</p>
</div>

<p>Thank you for your support!</p>
</div>
</div>