From dddee846b1ec6930d1aef87552a1b32efc459cff Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Wed, 3 Jan 2024 11:35:29 +0100 Subject: [PATCH] correction des messages d'information --- src/agenda_culturel/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agenda_culturel/views.py b/src/agenda_culturel/views.py index 37453ae..f32d111 100644 --- a/src/agenda_culturel/views.py +++ b/src/agenda_culturel/views.py @@ -293,9 +293,9 @@ def import_from_url(request): return HttpResponseRedirect(event.get_absolute_url()) else: if len(drafts) > 0: - messages.info(request, _("This URL has already been submitted, but has not been selected for publication by the moderation team.")) - elif len(trash) > 0: messages.info(request, _("This URL has already been submitted and is awaiting moderation.")) + elif len(trash) > 0: + messages.info(request, _("This URL has already been submitted, but has not been selected for publication by the moderation team.")) return render(request, 'agenda_culturel/import.html', context={'form': form, 'form_event': form_event})