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

Commit 5cb6ad3

Browse files
authored
Fix HTML templates missing correct HTML tags (#14448)
1 parent 1eed795 commit 5cb6ad3

22 files changed

+23
-0
lines changed

changelog.d/14448.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix rendering of some HTML templates (including emails). Introduced in v1.71.0.

synapse/res/templates/invalid_token.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Invalid renewal token.{% endblock %}
23

34
{% block body %}

synapse/res/templates/notif_mail.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{% extends "_base.html" %}
2+
13
{% block title %}New activity in room{% endblock %}
24

35
{% block header %}

synapse/res/templates/password_reset.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Password reset{% endblock %}
23

34
{% block body %}

synapse/res/templates/password_reset_confirmation.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Password reset confirmation{% endblock %}
23

34
{% block body %}

synapse/res/templates/password_reset_failure.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Password reset failure{% endblock %}
23

34
{% block body %}

synapse/res/templates/password_reset_success.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Password reset success{% endblock %}
23

34
{% block body %}

synapse/res/templates/recaptcha.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Authentication{% endblock %}
23

34
{% block header %}

synapse/res/templates/registration.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Registration{% endblock %}
23

34
{% block body %}

synapse/res/templates/registration_failure.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Registration failure{% endblock %}
23

34
{% block body %}

synapse/res/templates/registration_success.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Your email has now been validated{% endblock %}
23

34
{% block body %}

synapse/res/templates/registration_token.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Authentication{% endblock %}
23

34
{% block header %}

synapse/res/templates/sso_account_deactivated.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}SSO account deactivated{% endblock %}
23

34
{% block header %}

synapse/res/templates/sso_auth_account_details.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Create your account{% endblock %}
23

34
{% block header %}

synapse/res/templates/sso_auth_bad_user.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Authentication failed{% endblock %}
23

34
{% block header %}

synapse/res/templates/sso_auth_confirm.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Confirm it's you{% endblock %}
23

34
{% block header %}

synapse/res/templates/sso_auth_success.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Authentication successful{% endblock %}
23

34
{% block header %}

synapse/res/templates/sso_error.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Authentication failed{% endblock %}
23

34
{% block header %}

synapse/res/templates/sso_login_idp_picker.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Choose identity provider{% endblock %}
23

34
{% block header %}

synapse/res/templates/sso_new_user_consent.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Agree to terms and conditions{% endblock %}
23

34
{% block header %}

synapse/res/templates/sso_redirect_confirm.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Continue to your account{% endblock %}
23

34
{% block header %}

synapse/res/templates/terms.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% extends "_base.html" %}
12
{% block title %}Authentication{% endblock %}
23

34
{% block header %}

0 commit comments

Comments
 (0)