Skip to content

Commit 53089a9

Browse files
committed
And more fixes.
- Legacy-Id: 19902
1 parent cc723ce commit 53089a9

68 files changed

Lines changed: 108 additions & 115 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ietf/meeting/tests_views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5810,7 +5810,7 @@ def test_disapprove_proposed_slides(self):
58105810
self.assertEqual(SlideSubmission.objects.filter(status__slug = 'pending').count(), 0)
58115811
r = self.client.get(url)
58125812
self.assertEqual(r.status_code, 200)
5813-
self.assertContains(r, "These slides have already been rejected")
5813+
self.assertRegex(r.content.decode(), r"These\s+slides\s+have\s+already\s+been\s+rejected")
58145814

58155815
def test_approve_proposed_slides(self):
58165816
submission = SlideSubmissionFactory()
@@ -5834,7 +5834,7 @@ def test_approve_proposed_slides(self):
58345834
self.assertEqual(session.sessionpresentation_set.first().document.title,'different title')
58355835
r = self.client.get(url)
58365836
self.assertEqual(r.status_code, 200)
5837-
self.assertContains(r, "These slides have already been approved")
5837+
self.assertRegex(r.content.decode(), r"These\s+slides\s+have\s+already\s+been\s+approved")
58385838

58395839
def test_approve_proposed_slides_multisession_apply_one(self):
58405840
submission = SlideSubmissionFactory(session__meeting__type_id='ietf')

ietf/templates/401.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img class="col-2 mb-5"
88
src="{% static 'ietf/images/ietflogo.png' %}"
99
alt="IETF">
10-
<div class='alert alert-warning'>
10+
<div class='alert alert-warning my-3'>
1111
<h2>Authentication Required</h2>
1212
<hr>
1313
<p>

ietf/templates/403.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img class="col-2 mb-5"
88
src="{% static 'ietf/images/ietflogo.png' %}"
99
alt="IETF">
10-
<div class='alert alert-warning'>
10+
<div class='alert alert-warning my-3'>
1111
<h2>Restricted Access</h2>
1212
<hr>
1313
<p>

ietf/templates/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img class="col-2 mb-5"
88
src="{% static 'ietf/images/ietflogo.png' %}"
99
alt="IETF">
10-
<div class='alert alert-warning'>
10+
<div class='alert alert-warning my-3'>
1111
<h2>The page you were looking for couldn't be found</h2>
1212
<hr>
1313
<p>

ietf/templates/500.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img class="col-2 mb-5"
88
src="{% static 'ietf/images/ietflogo.png' %}"
99
alt="IETF">
10-
<div class='alert alert-warning'>
10+
<div class='alert alert-warning my-3'>
1111
<h2>Internal Server Error</h2>
1212
<hr>
1313
<p>

ietf/templates/community/subscription.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@ <h2>Add new subscription</h2>
4646
<button type="submit" name="action" value="subscribe" class="btn btn-primary">Subscribe</button>
4747
</form>
4848
{% else %}
49-
<div class="alert alert-danger">
49+
<div class="alert alert-danger my-3">
5050
You do not have any active email addresses registered with your account. Go to
51-
<a href="{% url "ietf.ietfauth.views.profile" %}">your profile and add or activate one</a>
52-
.
51+
<a href="{% url "ietf.ietfauth.views.profile" %}">your profile and add or activate one</a>.
5352
</div>
5453
<a class="btn btn-secondary" href="{{ clist.get_absolute_url }}">Back to list</a>
5554
{% endif %}

ietf/templates/doc/ballot/clear_ballot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1>
1313
</h1>
1414
<form method="post">
1515
{% csrf_token %}
16-
<p class="alert alert-danger">
16+
<p class="alert alert-danger my-3">
1717
<b>Clear the ballot for
1818
<a href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">{{ doc }}</a>?
1919
</b>

ietf/templates/doc/ballot/defer_ballot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1>
1313
</h1>
1414
<form method="post">
1515
{% csrf_token %}
16-
<p class="alert alert-danger">
16+
<p class="alert alert-danger my-3">
1717
<b>Defer the ballot for
1818
<a href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">{{ doc }}</a>?
1919
</b>

ietf/templates/doc/ballot/undefer_ballot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1>
1313
</h1>
1414
<form class="undefer mt-3" method="post">
1515
{% csrf_token %}
16-
<p class="alert alert-danger">
16+
<p class="alert alert-danger my-3">
1717
<b>Undefer the ballot for {{ doc }}?</b>
1818
<br>
1919
The ballot will then be put on the IESG agenda of <b>{{ telechat_date }}</b>.

ietf/templates/doc/charter/change_state.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h1>{{ title }}</h1>
2828
{% endif %}
2929
{% endfor %}
3030
{% if initial_review %}
31-
<p class="alert alert-warning">
31+
<p class="alert alert-warning my-3">
3232
<b>Warning:</b> Announced initial review time hasn't elapsed yet. It does so at {{ initial_review.expires }}.
3333
</p>
3434
{% endif %}

0 commit comments

Comments
 (0)