From 64a9ec5bf4e3490186cb8ebb8045f4b7e2e48482 Mon Sep 17 00:00:00 2001 From: ichuang Date: Sat, 22 Feb 2014 04:23:54 +0000 Subject: [PATCH] add problem reset link to staff debug page --- .../courseware/instructor_dashboard.html | 2 +- lms/templates/staff_problem_info.html | 64 +++++++++++++++++++ 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/lms/templates/courseware/instructor_dashboard.html b/lms/templates/courseware/instructor_dashboard.html index df531e4f06..f80a94644a 100644 --- a/lms/templates/courseware/instructor_dashboard.html +++ b/lms/templates/courseware/instructor_dashboard.html @@ -592,7 +592,7 @@ function goto( mode) ##----------------------------------------------------------------------------- %if msg: -

${msg}

+

${msg}

%endif ##----------------------------------------------------------------------------- diff --git a/lms/templates/staff_problem_info.html b/lms/templates/staff_problem_info.html index 5b34569d98..0f7bad3664 100644 --- a/lms/templates/staff_problem_info.html +++ b/lms/templates/staff_problem_info.html @@ -52,6 +52,70 @@ ${block_content}

${_('Staff Debug')}

+ + + + [ ${_('Reset Attempts')} | + ${_('Reload Page')} | + ${_('Delete State')} + ] + For user: +
+
is_released = ${is_released} location = ${location | h}