From 7568abb681e35f1e21873da694a43eecb4a249a3 Mon Sep 17 00:00:00 2001 From: Pierre-antoine Comby Date: Thu, 26 Mar 2020 17:41:11 +0100 Subject: [PATCH] some minor cleaning --- apps/note/fixtures/initial.json | 15 --------------- templates/base.html | 2 ++ templates/note/transactiontemplate_list.html | 2 +- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/apps/note/fixtures/initial.json b/apps/note/fixtures/initial.json index 8c8ef378..61731ead 100644 --- a/apps/note/fixtures/initial.json +++ b/apps/note/fixtures/initial.json @@ -89,21 +89,6 @@ "created_at": "2020-02-20T20:16:14.753Z" } }, - { - "model": "note.note", - "pk": 7, - "fields": { - "polymorphic_ctype": [ - "note", - "noteuser" - ], - "balance": 0, - "last_negative": null, - "is_active": true, - "display_image": "pic/default.png", - "created_at": "2020-03-22T13:01:35.680Z" - } - }, { "model": "note.noteclub", "pk": 5, diff --git a/templates/base.html b/templates/base.html index 2f07a6cc..4d39f9a1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -79,9 +79,11 @@ SPDX-License-Identifier: GPL-3.0-or-later {% trans 'Consumptions' %} {% endif %} + {% if "note.transaction"|not_empty_model_list %} + {% endif %} {% if "member.club"|not_empty_model_list %}