From 7c6b49e460dce88b127d978a5aadbd2fc29fd478 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 28 May 2019 09:04:25 -0400 Subject: [PATCH] Move a message to make it extractable --- lms/templates/problem.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lms/templates/problem.html b/lms/templates/problem.html index f4d196bc5e..b85a7cfdc5 100644 --- a/lms/templates/problem.html +++ b/lms/templates/problem.html @@ -115,11 +115,14 @@ from openedx.core.djangolib.markup import HTML notification_message=save_message, is_hidden=not has_saved_answers" /> + <% + notification_message=_('Answers are displayed within the problem') + %> <%include file="problem_notifications.html" args=" notification_type='general', notification_icon='fa-info-circle', notification_name='show-answer', - notification_message=_('Answers are displayed within the problem'), + notification_message=notification_message, is_hidden=True" />