From e033df9c24766312201be1eb3245565b9effdd3d Mon Sep 17 00:00:00 2001 From: jsa Date: Wed, 22 Jan 2014 14:56:31 -0500 Subject: [PATCH] fix 2 links that were broken during i18n changes. --- lms/templates/discussion/_underscore_templates.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/templates/discussion/_underscore_templates.html b/lms/templates/discussion/_underscore_templates.html index 6d4b0c3b02..5a5542a98e 100644 --- a/lms/templates/discussion/_underscore_templates.html +++ b/lms/templates/discussion/_underscore_templates.html @@ -36,7 +36,7 @@

${'<%- title %>'}

${"<% if (obj.username) { %>"} - ${'<%- username %>'} + ${'<%- username %>'} ${"<% } else { %>"} ${_('anonymous') | h} ${"<% } %>"} @@ -69,7 +69,7 @@ <% js_block = u""" var courseware_link = interpolate('%s', [courseware_url, _.escape(courseware_title)]); - print(interpolate('{}', {{'courseware_title_linked': courseware_link}})); + print(interpolate('{}', {{'courseware_title_linked': courseware_link}}, true)); """.format( ## Translators: 'courseware_title_linked' is a placeholder for the title of the courseware unit referenced by this discussion thread. escapejs(_("(this post is about %(courseware_title_linked)s)"))