From 4e2cc0250a2ebc88b26bd5790ded916aac5b5ba7 Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Fri, 20 May 2016 11:00:33 +0100 Subject: [PATCH 1/2] Setting the style for the flash message on feedback page Was using the default of dangerous - which it shouldn't. Obvs. --- app/main/views/feedback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/feedback.py b/app/main/views/feedback.py index 096bca5ae..a13feef42 100644 --- a/app/main/views/feedback.py +++ b/app/main/views/feedback.py @@ -35,7 +35,7 @@ def feedback(): resp.json()) ) abort(500, "Feedback submission failed") - flash("Your feedback has been submitted") + flash("Your feedback has been submitted", 'default_with_tick') return redirect(url_for('.feedback')) return render_template('views/feedback.html', form=form) From c73087074b724e4f69cd9d82baad0db1ae704b23 Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Fri, 20 May 2016 12:20:58 +0100 Subject: [PATCH 2/2] Nice feedback message. --- app/main/views/feedback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/views/feedback.py b/app/main/views/feedback.py index a13feef42..7927c3718 100644 --- a/app/main/views/feedback.py +++ b/app/main/views/feedback.py @@ -35,7 +35,7 @@ def feedback(): resp.json()) ) abort(500, "Feedback submission failed") - flash("Your feedback has been submitted", 'default_with_tick') + flash("Thanks, we've received your feedback", 'default_with_tick') return redirect(url_for('.feedback')) return render_template('views/feedback.html', form=form)