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

Fix finding/funding typo #565

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion home/templates/home/snippet/funding_short_description.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load humanize %}
{% comment %}Point coordinators to resources for finding and pitching to sponsors, once the community guide exists.{% endcomment %}

<p>All communities must find finding for at least one intern (${{ current_round.sponsorship_per_intern|intcomma }} USD):</p>
<p>All communities must find funding for at least one intern (${{ current_round.sponsorship_per_intern|intcomma }} USD):</p>

<ul>
<li><b>Humanitarian open source communities</b> can apply for funding from <a href="{% url 'docs-community' %}#outreachy-general-fund" %}>Outreachy</a></li>
Expand Down
2 changes: 1 addition & 1 deletion home/test_community_signup.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def test_increased_sponsorship_old_community_participation_signup(self):
'round_slug': current_round.slug,
'community_slug': scenario.participation.community.slug,
}))
self.assertContains(response, '<p>All communities must find finding for at least one intern ($10,000 USD):</p>', html=True)
self.assertContains(response, '<p>All communities must find funding for at least one intern ($10,000 USD):</p>', html=True)
self.assertContains(response, '<div class="card-footer bg-white">Sponsorship for each intern is $10,000 USD.</div>', html=True)

response = self.coordinator_signs_up_community_to_participate(
Expand Down
4 changes: 2 additions & 2 deletions home/test_docs_community.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_sponsorship_increase_visible(self):

response = self.client.get(reverse('docs-community'))
self.assertEqual(response.status_code, 200)
self.assertContains(response, '<p>All communities must find finding for at least one intern ($5,000 USD):</p>', html=True)
self.assertContains(response, '<p>All communities must find funding for at least one intern ($5,000 USD):</p>', html=True)
self.assertContains(response, '<p><b>Other communities</b> must secure their own funding for at least one intern ($5,000 USD). After that external funding is secured, they can apply for additional interns to be funded by the Outreachy general fund.</p>', html=True)
self.assertContains(response, '<p>The sponsorship for each Outreachy intern is $5,000 USD.</p>', html=True)

Expand All @@ -30,7 +30,7 @@ def test_sponsorship_increase_visible(self):

response = self.client.get(reverse('docs-community'))
self.assertEqual(response.status_code, 200)
self.assertContains(response, '<p>All communities must find finding for at least one intern ($10,000 USD):</p>', html=True)
self.assertContains(response, '<p>All communities must find funding for at least one intern ($10,000 USD):</p>', html=True)
self.assertContains(response, '<p><b>Other communities</b> must secure their own funding for at least one intern ($10,000 USD). After that external funding is secured, they can apply for additional interns to be funded by the Outreachy general fund.</p>', html=True)
self.assertContains(response, '<p>The sponsorship for each Outreachy intern is $10,000 USD.</p>', html=True)