From bbd57ef79b6fbbd8b923c9367c84fe1d18b9ad52 Mon Sep 17 00:00:00 2001 From: Victor Shnayder Date: Fri, 7 Sep 2012 15:10:26 -0400 Subject: [PATCH] don't show empty list if there is no error data --- .../courseware/instructor_dashboard.html | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/lms/templates/courseware/instructor_dashboard.html b/lms/templates/courseware/instructor_dashboard.html index 2d9ab853eb..8568490e5e 100644 --- a/lms/templates/courseware/instructor_dashboard.html +++ b/lms/templates/courseware/instructor_dashboard.html @@ -64,17 +64,17 @@ table.stat_table td { %if instructor_access:

- +

- - + +


%endif - + %if settings.MITX_FEATURES['ENABLE_MANUAL_GIT_RELOAD'] and admin_access:

- - + + %endif @@ -101,7 +101,7 @@ table.stat_table td {

%if msg: -

${msg}

+

${msg}

%endif % if course_errors is not UNDEFINED: @@ -110,13 +110,17 @@ table.stat_table td { % endif - +