From 893d22515d0cfbe6baa21768ae94f553956aa433 Mon Sep 17 00:00:00 2001 From: Felipe Montoya Date: Thu, 19 Sep 2013 10:47:13 -0500 Subject: [PATCH] Something for the user dashboard --- lms/djangoapps/instructor/views/legacy.py | 4 ++-- lms/templates/dashboard.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lms/djangoapps/instructor/views/legacy.py b/lms/djangoapps/instructor/views/legacy.py index 9e77f55a29..019c350cbf 100644 --- a/lms/djangoapps/instructor/views/legacy.py +++ b/lms/djangoapps/instructor/views/legacy.py @@ -56,7 +56,7 @@ import track.views from mitxmako.shortcuts import render_to_string from xblock.field_data import DictFieldData from xblock.fields import ScopeIds - +from django.utils.translation import ugettext as _u from bulk_email.models import CourseEmail from html_to_text import html_to_text @@ -108,7 +108,7 @@ def instructor_dashboard(request, course_id): # assemble some course statistics for output to instructor def get_course_stats_table(): datatable = {'header': ['Statistic', 'Value'], - 'title': 'Course Statistics At A Glance', + 'title': _u('Course Statistics At A Glance'), } data = [['# Enrolled', CourseEnrollment.objects.filter(course_id=course_id, is_active=1).count()]] data += [['Date', timezone.now().isoformat()]] diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index 7e6bc4a025..ed857272f8 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -368,7 +368,7 @@
- +
@@ -393,7 +393,7 @@
- +