correction des messages d'information
This commit is contained in:
parent
a6f9b55c68
commit
dddee846b1
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user