From fd2c7f86f35e79dfce617fa25a359c690d6dd717 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Mon, 13 Nov 2017 21:02:37 +0100 Subject: [PATCH] Add user feedback --- commentaries/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/commentaries/views.py b/commentaries/views.py index ee1a8eef9..015fb814d 100644 --- a/commentaries/views.py +++ b/commentaries/views.py @@ -257,6 +257,7 @@ def comment_on_publication(request, doi_label): publication=publication, current_user=request.user) if form.is_valid(): comment = form.save() + messages.success(request, strings.acknowledge_request_commentary) return redirect(comment.content_object.get_absolute_url()) context = { 'publication': publication, -- GitLab