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
Browse files Browse the repository at this point in the history
Fixes #14421.

Broke in #13652.
  • Loading branch information
erikjohnston committed Nov 15, 2022
1 parent fb66fae commit d14035f
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 0 deletions.
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_partial_profile.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% extends "_base.html" %}
{# html fragment to be included in SSO pages, to show the user's profile #}

<div class="profile{% if user_profile.avatar_url %} with-avatar{% endif %}">
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 d14035f

Please sign in to comment.