From 5fdaeb690abaf9d6423d2ae0ecfc704ae6f60f55 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 17 Feb 2025 13:05:41 +0100 Subject: [PATCH] add Inbox lotTag as unassigned section --- admin/templates/lot_tag_panel.html | 8 ++--- admin/views.py | 34 +++++++++++++++++---- dashboard/mixins.py | 8 ++++- dashboard/templates/base.html | 2 +- lot/migrations/0007_lottag_inbox.py | 18 +++++++++++ lot/models.py | 3 +- lot/views.py | 8 +++++ user/management/commands/add_institution.py | 6 ++++ 8 files changed, 74 insertions(+), 13 deletions(-) create mode 100644 lot/migrations/0007_lottag_inbox.py diff --git a/admin/templates/lot_tag_panel.html b/admin/templates/lot_tag_panel.html index 44be7ff..0578aea 100644 --- a/admin/templates/lot_tag_panel.html +++ b/admin/templates/lot_tag_panel.html @@ -14,7 +14,7 @@
- {% if lot_tags %} + {% if lot_tags_edit %} @@ -25,7 +25,7 @@ - {% for tag in lot_tags %} + {% for tag in lot_tags_edit %}
{{ tag.name }} @@ -93,7 +93,7 @@ -{% for tag in lot_tags %} +{% for tag in lot_tags_edit %}