diff --git a/home/templates/home/round_page_with_communities.html b/home/templates/home/round_page_with_communities.html index 8e1d9c7d6..8d76aa291 100644 --- a/home/templates/home/round_page_with_communities.html +++ b/home/templates/home/round_page_with_communities.html @@ -135,7 +135,7 @@

Final Applications Closed {{ current_round.contributions_close }} at 4pm UTC {% for participation, projects in ontime_projects %} {% with community=participation.community funded_interns=participation.interns_funded %} -

{{ community.name }} - {{ funded_interns }} intern{{ funded_interns|pluralize }}

+

{{ community.name }} - {{ funded_interns }} intern{{ funded_interns|pluralize }}

{{ community.description }}

{% if role.is_approved_applicant or role.is_volunteer %} {% if not current_round.contributions_close.has_passed %} diff --git a/home/test_initial_application.py b/home/test_initial_application.py index 36588ede6..c7e745766 100644 --- a/home/test_initial_application.py +++ b/home/test_initial_application.py @@ -326,7 +326,7 @@ def test_project_list_not_logged_in(self): response = self.client.get(reverse('project-selection')) self.assertEqual(response.status_code, 200) - self.assertContains(response, '

Debian - 2 interns

', html=True) + self.assertContains(response, '

Debian - 2 interns

', html=True) self.assertContains(response, 'Project details are hidden.') self.assertNotContains(response, 'Debian community landing page'.format(reverse('community-landing', kwargs={'round_slug': project.project_round.participating_round.slug, 'community_slug': project.project_round.community.slug})), html=True) self.assertNotContains(response, '{}'.format(project.project_round.get_absolute_url(), project.slug, project.short_title), html=True) @@ -350,7 +350,7 @@ def test_project_list_general_time_align_rejection_before_contribution_opens(sel response = self.client.get(reverse('project-selection')) self.assertEqual(response.status_code, 200) - self.assertContains(response, '

Debian - 2 interns

', html=True) + self.assertContains(response, '

Debian - 2 interns

', html=True) self.assertContains(response, 'Project details are hidden.') self.assertNotContains(response, 'Debian community landing page'.format(reverse('community-landing', kwargs={'round_slug': project.project_round.participating_round.slug, 'community_slug': project.project_round.community.slug})), html=True) self.assertNotContains(response, '{}'.format(project.project_round.get_absolute_url(), project.slug, project.short_title), html=True) @@ -374,7 +374,7 @@ def test_project_list_general_time_align_rejection_after_contribution_opens(self response = self.client.get(reverse('project-selection')) self.assertEqual(response.status_code, 200) - self.assertContains(response, '

Debian - 2 interns

', html=True) + self.assertContains(response, '

Debian - 2 interns

', html=True) self.assertContains(response, 'Project details are hidden.') self.assertNotContains(response, 'Debian community landing page'.format(reverse('community-landing', kwargs={'round_slug': project.project_round.participating_round.slug, 'community_slug': project.project_round.community.slug})), html=True) self.assertNotContains(response, '{}'.format(project.project_round.get_absolute_url(), project.slug, project.short_title), html=True) @@ -394,7 +394,7 @@ def test_project_list_approved_before_contributions_open(self): response = self.client.get(reverse('project-selection')) self.assertEqual(response.status_code, 200) - self.assertContains(response, '

Debian - 2 interns

', html=True) + self.assertContains(response, '

Debian - 2 interns

', html=True) self.assertContains(response, 'Project details are hidden.') self.assertNotContains(response, 'Debian community landing page'.format(reverse('community-landing', kwargs={'round_slug': project.project_round.participating_round.slug, 'community_slug': project.project_round.community.slug})), html=True) self.assertNotContains(response, '{}'.format(project.project_round.get_absolute_url(), project.slug, project.short_title), html=True) @@ -413,7 +413,7 @@ def test_project_list_approved_after_contributions_open(self): response = self.client.get(reverse('project-selection')) self.assertEqual(response.status_code, 200) - self.assertContains(response, '

Debian - 2 interns

', html=True) + self.assertContains(response, '

Debian - 2 interns

', html=True) self.assertNotContains(response, 'Project details are hidden.') self.assertContains(response, 'Debian community landing page'.format(reverse('community-landing', kwargs={'round_slug': project.project_round.participating_round.slug, 'community_slug': project.project_round.community.slug})), html=True) self.assertContains(response, '{}'.format(project.project_round.get_absolute_url(), project.slug, project.short_title), html=True)