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
168445f7
Commit
168445f7
authored
Jan 15, 2014
by
jsa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i18n: extract strings from underscore templates
JIRA: FOR-400
parent
e6345868
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
common/static/coffee/src/discussion/views/discussion_thread_list_view.coffee
+9
-1
lms/templates/discussion/_underscore_templates.html
+0
-0
No files found.
common/static/coffee/src/discussion/views/discussion_thread_list_view.coffee
View file @
168445f7
...
@@ -174,6 +174,14 @@ if Backbone?
...
@@ -174,6 +174,14 @@ if Backbone?
content
.
addClass
(
"resolved"
)
content
.
addClass
(
"resolved"
)
if
thread
.
get
(
'read'
)
if
thread
.
get
(
'read'
)
content
.
addClass
(
"read"
)
content
.
addClass
(
"read"
)
if
thread
.
get
(
'unread_comments_count'
)
>
0
content
.
find
(
'.comments-count'
).
addClass
(
"unread"
).
attr
(
"data-tooltip"
,
interpolate
(
ngettext
(
'%(unread_count)s new comment'
,
'%(unread_count)s new comments'
,
{
'unread_count'
:
thread
.
get
(
'unread_comments_count'
)}),
[
thread
.
get
(
'unread_comments_count'
)]
)
)
@
highlight
(
content
)
@
highlight
(
content
)
...
@@ -473,4 +481,4 @@ if Backbone?
...
@@ -473,4 +481,4 @@ if Backbone?
error
:
()
=>
error
:
()
=>
$
(
'input.email-setting'
).
attr
(
'checked'
,
'checked'
)
$
(
'input.email-setting'
).
attr
(
'checked'
,
'checked'
)
lms/templates/discussion/_underscore_templates.html
View file @
168445f7
This diff is collapsed.
Click to expand it.
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