From a7567d5d0bcc1ed9122bdf8c7fc7ae4106f37c52 Mon Sep 17 00:00:00 2001 From: rucki Date: Mon, 24 Aug 2026 10:56:00 +0200 Subject: [PATCH] Improve mobile my2dos navigation --- core/templates/core/_item.html | 9 ++--- core/templates/core/base.html | 5 +-- core/templates/core/index.html | 65 ++++++++++++++++++++++++++++++---- deploy.sh | 5 +++ 4 files changed, 71 insertions(+), 13 deletions(-) diff --git a/core/templates/core/_item.html b/core/templates/core/_item.html index f267785..978f9fe 100644 --- a/core/templates/core/_item.html +++ b/core/templates/core/_item.html @@ -25,13 +25,14 @@ {% endif %}
- {% if item.kind == 'todo' %}{% endif %} + {% if item.kind == 'todo' %}{% endif %} {% if request.resolver_match.url_name == 'item_detail' %} - ✎ + ✎ {% trans "Edit" %} {% else %} - + ✎ {% trans "Edit" %} + {% endif %} - +
diff --git a/core/templates/core/base.html b/core/templates/core/base.html index cb00f6d..217888b 100644 --- a/core/templates/core/base.html +++ b/core/templates/core/base.html @@ -17,12 +17,13 @@ - +
{% block toolbar_filter %}{% endblock %}
{% for message in messages %}
{{ message }}
{% endfor %}{% block content %}{% endblock %}
+{% if user.is_authenticated %}{% endif %}