Skip to content

Commit

Permalink
SOL-1171
Browse files Browse the repository at this point in the history
Update timer bar so that it doesn't always refer to a proctored exam
  • Loading branch information
muhhshoaib committed Sep 8, 2015
1 parent 86961f2 commit dc57ed6
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 dc57ed6

Please sign in to comment.