From 535d52919331b9f43d45b977b300d765d6027fb0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 29 Feb 2020 14:46:58 +0100 Subject: [PATCH] ui: fix title, fix navigation on user settings --- passbook/core/templates/base/skeleton.html | 2 +- passbook/core/templates/overview/base.html | 1 - passbook/core/templates/user/base.html | 116 +++++++++++---------- 3 files changed, 60 insertions(+), 59 deletions(-) diff --git a/passbook/core/templates/base/skeleton.html b/passbook/core/templates/base/skeleton.html index d4105aec1..ddd607855 100644 --- a/passbook/core/templates/base/skeleton.html +++ b/passbook/core/templates/base/skeleton.html @@ -8,7 +8,7 @@ - {% block title %}{% trans title %}{% endblock %} + {% block title %}{% trans title|default:"passbook" %}{% endblock %} diff --git a/passbook/core/templates/overview/base.html b/passbook/core/templates/overview/base.html index 22ef69a13..205ee5a56 100644 --- a/passbook/core/templates/overview/base.html +++ b/passbook/core/templates/overview/base.html @@ -7,7 +7,6 @@ {% load utils %} {% block page_content %} -{% include 'partials/messages.html' %}
{% block content %} {% endblock %} diff --git a/passbook/core/templates/user/base.html b/passbook/core/templates/user/base.html index b434da056..6e9d0e650 100644 --- a/passbook/core/templates/user/base.html +++ b/passbook/core/templates/user/base.html @@ -1,67 +1,69 @@ -{% extends "overview/base.html" %} +{% extends "base/page.html" %} {% load i18n %} {% load is_active %} {% load static %} {% load passbook_user_settings %} -{% block content %} -
-
-
-
-
- +{% block page_content %} +
+
+ +
+
+
+
+
+
+
+ {% block page %} + {% endblock %}
-
-
- {% block page %} - {% endblock %} -
-
-
-
+ +
{% endblock %}