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

Fix HTML templates missing correct HTML tags #14448

Merged
merged 6 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from 3 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
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