From 96d119965c1d6219fe1e1407b2ffdf0cc070b477 Mon Sep 17 00:00:00 2001 From: ichuang Date: Thu, 7 Feb 2013 23:18:58 -0500 Subject: [PATCH] limit staff debug verbosity to locations of specific categories --- lms/templates/staff_problem_info.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lms/templates/staff_problem_info.html b/lms/templates/staff_problem_info.html index 61cda0c52b..9324445dd1 100644 --- a/lms/templates/staff_problem_info.html +++ b/lms/templates/staff_problem_info.html @@ -1,5 +1,6 @@ ${module_content} -%if edit_link: +%if location.category in ['problem','video','html']: +% if edit_link:
Edit / QA
-% endif +% endif
Staff Debug Info