Skip to content
Snippets Groups Projects
Commit 90e4de5c authored by David Baumgold's avatar David Baumgold
Browse files

Pull HTML out of i18n'ed string

parent 2043c4d9
No related merge requests found
......@@ -1019,8 +1019,13 @@ class PaidCourseRegistration(OrderItem):
Generates instructions when the user has purchased a PaidCourseRegistration.
Basically tells the user to visit the dashboard to see their new classes
"""
notification = (_('Please visit your <a href="{dashboard_link}">dashboard</a> to see your new course.')
.format(dashboard_link=reverse('dashboard')))
notification = _(
"Please visit your {link_start}dashboard{link_end} "
"to see your new course."
).format(
link_start='<a href="{url}">'.format(url=reverse('dashboard')),
link_end='</a>',
)
return self.pk_with_subclass, set([notification])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment