Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix HTML templates missing correct HTML tags (#14448)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored and H-Shay committed Dec 13, 2022
1 parent 36305c2 commit 9864c26
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/14448.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix rendering of some HTML templates (including emails). Introduced in v1.71.0.
1 change: 1 addition & 0 deletions synapse/res/templates/invalid_token.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Invalid renewal token.{% endblock %}

{% block body %}
Expand Down
2 changes: 2 additions & 0 deletions synapse/res/templates/notif_mail.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{% extends "_base.html" %}

{% block title %}New activity in room{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/password_reset.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Password reset{% endblock %}

{% block body %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/password_reset_confirmation.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Password reset confirmation{% endblock %}

{% block body %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/password_reset_failure.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Password reset failure{% endblock %}

{% block body %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/password_reset_success.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Password reset success{% endblock %}

{% block body %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/recaptcha.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Authentication{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/registration.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Registration{% endblock %}

{% block body %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/registration_failure.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Registration failure{% endblock %}

{% block body %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/registration_success.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Your email has now been validated{% endblock %}

{% block body %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/registration_token.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Authentication{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/sso_account_deactivated.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}SSO account deactivated{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/sso_auth_account_details.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Create your account{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/sso_auth_bad_user.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Authentication failed{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/sso_auth_confirm.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Confirm it's you{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/sso_auth_success.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Authentication successful{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/sso_error.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Authentication failed{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/sso_login_idp_picker.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Choose identity provider{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/sso_new_user_consent.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Agree to terms and conditions{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/sso_redirect_confirm.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Continue to your account{% endblock %}

{% block header %}
Expand Down
1 change: 1 addition & 0 deletions synapse/res/templates/terms.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{% block title %}Authentication{% endblock %}

{% block header %}
Expand Down

0 comments on commit 9864c26

Please sign in to comment.