Skip to content

Commit

Permalink
Merge pull request #136 from edx/muhhshoaib/SOL-1171-return-display-s…
Browse files Browse the repository at this point in the history
…tring-from-backbone-view

SOL-1171
  • Loading branch information
muhhshoaib committed Sep 8, 2015
2 parents 3724d1e + dc57ed6 commit cb2a617
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions edx_proctoring/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import pytz
from datetime import datetime

from django.utils.translation import ugettext as _
from django.utils.decorators import method_decorator
from django.conf import settings
from django.core.urlresolvers import reverse, NoReverseMatch
Expand Down Expand Up @@ -481,6 +482,7 @@ def get(self, request): # pylint: disable=unused-argument
response_dict = {
'in_timed_exam': True,
'taking_as_proctored': attempt['taking_as_proctored'],
'exam_type': _('proctored') if attempt['taking_as_proctored'] else _('timed'),
'exam_display_name': exam['exam_name'],
'exam_url_path': exam_url_path,
'time_remaining_seconds': time_remaining_seconds,
Expand Down

0 comments on commit cb2a617

Please sign in to comment.