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
3f48e224
Commit
3f48e224
authored
Feb 24, 2014
by
Greg Price
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix strings to avoid dangling commas
parent
7e035313
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
common/static/coffee/src/discussion/views/discussion_thread_show_view.coffee
+5
-1
common/static/coffee/src/discussion/views/thread_response_show_view.coffee
+5
-1
No files found.
common/static/coffee/src/discussion/views/discussion_thread_show_view.coffee
View file @
3f48e224
...
...
@@ -47,7 +47,11 @@ if Backbone?
@
$
(
"[data-role=thread-flag]"
).
removeClass
(
"notflagged"
)
@
$
(
".discussion-flag-abuse"
).
attr
(
"aria-pressed"
,
"true"
)
@
$
(
".discussion-flag-abuse"
).
attr
(
"data-tooltip"
,
gettext
(
"Click to remove report"
))
@
$
(
".discussion-flag-abuse .flag-label"
).
html
(
interpolate
(
gettext
(
"Misuse Reported, %(start_sr_span)s click to remove report%(end_span)s"
),
{
"start_sr_span"
:
"<span class='sr'>"
,
"end_span"
:
"</span>"
},
true
))
###
Translators: The text between start_sr_span and end_span is not shown
in most browsers but will be read by screen readers.
###
@
$
(
".discussion-flag-abuse .flag-label"
).
html
(
interpolate
(
gettext
(
"Misuse Reported%(start_sr_span)s, click to remove report%(end_span)s"
),
{
"start_sr_span"
:
"<span class='sr'>"
,
"end_span"
:
"</span>"
},
true
))
else
@
$
(
"[data-role=thread-flag]"
).
removeClass
(
"flagged"
)
@
$
(
"[data-role=thread-flag]"
).
addClass
(
"notflagged"
)
...
...
common/static/coffee/src/discussion/views/thread_response_show_view.coffee
View file @
3f48e224
...
...
@@ -76,7 +76,11 @@ if Backbone?
@
$
(
"[data-role=thread-flag]"
).
removeClass
(
"notflagged"
)
@
$
(
".discussion-flag-abuse"
).
attr
(
"aria-pressed"
,
"true"
)
@
$
(
".discussion-flag-abuse"
).
attr
(
"data-tooltip"
,
gettext
(
"Misuse Reported, click to remove report"
))
@
$
(
".discussion-flag-abuse .flag-label"
).
html
(
interpolate
(
gettext
(
"Misuse Reported, %(start_sr_span)s click to remove report%(end_span)s"
),
{
"start_sr_span"
:
"<span class='sr'>"
,
"end_span"
:
"</span>"
},
true
))
###
Translators: The text between start_sr_span and end_span is not shown
in most browsers but will be read by screen readers.
###
@
$
(
".discussion-flag-abuse .flag-label"
).
html
(
interpolate
(
gettext
(
"Misuse Reported%(start_sr_span)s, click to remove report%(end_span)s"
),
{
"start_sr_span"
:
"<span class='sr'>"
,
"end_span"
:
"</span>"
},
true
))
else
@
$
(
"[data-role=thread-flag]"
).
removeClass
(
"flagged"
)
@
$
(
"[data-role=thread-flag]"
).
addClass
(
"notflagged"
)
...
...
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