Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lms/djangoapps/philu_overrides/courseware/views/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def generate_user_cert(request, course_id):
# mark the certificate with "error" status, so it can be re-run
# with a management command. From the user's perspective,
# it will appear that the certificate task was submitted successfully.
base_url = settings.LMS_ROOT_URL[:-3]
base_url = settings.LMS_ROOT_URL
MandrillClient().send_mail(
MandrillClient.COURSE_COMPLETION_TEMPLATE,
student.email,
Expand Down
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/timed_notification/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ def send_course_notification_email(course, template_name, context, to_list=None)

def get_course_link(course_id):
course_link = reverse("about_course", args=[course_id])
base_url = settings.LMS_ROOT_URL[:-3]
base_url = settings.LMS_ROOT_URL
return base_url + course_link