removes references to specific edx email addresses (STUD-1069)

This commit is contained in:
Adam Palay
2013-12-23 16:28:00 -05:00
parent 83ae4ee604
commit 517ca9329b
2 changed files with 13 additions and 2 deletions

View File

@@ -105,7 +105,10 @@ require(["domReady!", "jquery", "js/models/settings/course_details", "js/views/s
<div class="notice notice-incontext notice-workflow">
<h3 class="title">${_("Promoting Your Course with edX")}</h3>
<div class="copy">
<p>${_('Your course summary page will not be viewable until your course has been announced. To provide content for the page and preview it, follow the instructions provided by your <abbr title="Program Manager">PM</abbr> or Conrad Warre <a rel="email" class="action action-email" href="mailto:conrad@edx.org">(conrad@edx.org)</a>.')}</p>
<p>${_('Your course summary page will not be viewable until your '
'course has been announced. To provide content for the '
'page and preview it, follow the instructions provided '
'by your <abbr title="Program Manager">PM</abbr>.')}</p>
</div>
</div>
% endif

View File

@@ -7,6 +7,7 @@ import logging
from django.conf import settings
from django.http import HttpResponse, Http404
from django.utils.translation import ugettext as _
from xmodule.course_module import CourseDescriptor
from xmodule.open_ended_grading_classes.grading_service_module import GradingService, GradingServiceError
@@ -21,7 +22,14 @@ from open_ended_grading.utils import does_location_exist
log = logging.getLogger(__name__)
STAFF_ERROR_MESSAGE = 'Could not contact the external grading server. Please contact the development team. If you do not have a point of contact, you can contact Vik at vik@edx.org.'
STAFF_ERROR_MESSAGE = _(
u'Could not contact the external grading server. Please contact the '
u'development team at {email}.'
).format(
email=u'<a href="mailto:{tech_support_email}>{tech_support_email}</a>'.format(
tech_support_email=settings.TECH_SUPPORT_EMAIL
)
)
class MockStaffGradingService(object):