Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
e033df9c
Commit
e033df9c
authored
Jan 22, 2014
by
jsa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 2 links that were broken during i18n changes.
parent
d35a56bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lms/templates/discussion/_underscore_templates.html
+2
-2
No files found.
lms/templates/discussion/_underscore_templates.html
View file @
e033df9c
...
...
@@ -36,7 +36,7 @@
<
h1
>
$
{
'<%- title %>'
}
<
/h1
>
<
p
class
=
"posted-details"
>
$
{
"<% if (obj.username) { %>"
}
<
a
href
=
"${'<%- user_url %>'
| u
}"
class
=
"username"
>
$
{
'<%- username %>'
}
<
/a
>
<
a
href
=
"${'<%- user_url %>'}"
class
=
"username"
>
$
{
'<%- username %>'
}
<
/a
>
$
{
"<% } else { %>"
}
$
{
_
(
'anonymous'
)
|
h
}
$
{
"<% } %>"
}
...
...
@@ -69,7 +69,7 @@
<%
js_block
=
u
"""
var courseware_link = interpolate('<a href="
%
s
">%s</a>', [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)"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment