diff --git a/templates/form_post.html b/templates/form_post.html index 1d0267e9f..71882c8ab 100644 --- a/templates/form_post.html +++ b/templates/form_post.html @@ -15,7 +15,7 @@ Please see LICENSE files in the repository root for full details. -
+ {% for key, value in params|items %} {% endfor %} diff --git a/templates/pages/index.html b/templates/pages/index.html index b8a0d7547..3ef8ea51b 100644 --- a/templates/pages/index.html +++ b/templates/pages/index.html @@ -19,7 +19,7 @@ Please see LICENSE files in the repository root for full details. - {% if current_session %} + {% if current_session is not none %}

{{ _("mas.navbar.signed_in_as", username=current_session.user.username) }}

diff --git a/templates/pages/upstream_oauth2/do_register.html b/templates/pages/upstream_oauth2/do_register.html index 2a57a6aca..f57564c43 100644 --- a/templates/pages/upstream_oauth2/do_register.html +++ b/templates/pages/upstream_oauth2/do_register.html @@ -26,7 +26,7 @@ Please see LICENSE files in the repository root for full details.

- {% elif upstream_oauth_provider.human_name %} + {% elif upstream_oauth_provider.human_name is not none %}
{{ icon.user_profile_solid() }} @@ -55,9 +55,9 @@ Please see LICENSE files in the repository root for full details.
{% endif %} - {% if upstream_oauth_provider.human_name %} + {% if upstream_oauth_provider.human_name is not none %}
- {% if upstream_oauth_provider.brand_name %} + {% if upstream_oauth_provider.brand_name is not none %} {{ logo(brand=upstream_oauth_provider.brand_name, class="brand") }} {% else %} {{ icon.user_profile() }} @@ -67,7 +67,7 @@ Please see LICENSE files in the repository root for full details.

{{- _("mas.upstream_oauth2.register.provider_name", human_name=upstream_oauth_provider.human_name) -}}

- {% if upstream_oauth_link.human_account_name %} + {% if upstream_oauth_link.human_account_name is not none %} @@ -147,7 +147,7 @@ Please see LICENSE files in the repository root for full details.
- {% if upstream_oauth_provider.human_name %} + {% if upstream_oauth_provider.human_name is not none %} {{- _("mas.upstream_oauth2.register.imported_from_upstream_with_name", human_name=upstream_oauth_provider.human_name) -}} {% else %} {{- _("mas.upstream_oauth2.register.imported_from_upstream") -}}