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
a5a4347f
Commit
a5a4347f
authored
Jan 27, 2014
by
Giulio Gratta
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2310 from edx/giulio/forum-unflag-help
Added help text to tooltip for unflagging
parents
f234b743
65c76cd6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
common/static/coffee/src/discussion/views/discussion_thread_show_view.coffee
+2
-1
common/static/coffee/src/discussion/views/response_comment_show_view.coffee
+2
-2
common/static/coffee/src/discussion/views/thread_response_show_view.coffee
+2
-1
No files found.
common/static/coffee/src/discussion/views/discussion_thread_show_view.coffee
View file @
a5a4347f
...
...
@@ -46,7 +46,8 @@ if Backbone?
@
$
(
"[data-role=thread-flag]"
).
addClass
(
"flagged"
)
@
$
(
"[data-role=thread-flag]"
).
removeClass
(
"notflagged"
)
@
$
(
".discussion-flag-abuse"
).
attr
(
"aria-pressed"
,
"true"
)
@
$
(
".discussion-flag-abuse .flag-label"
).
html
(
gettext
(
"Misuse Reported"
))
@
$
(
".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
))
else
@
$
(
"[data-role=thread-flag]"
).
removeClass
(
"flagged"
)
@
$
(
"[data-role=thread-flag]"
).
addClass
(
"notflagged"
)
...
...
common/static/coffee/src/discussion/views/response_comment_show_view.coffee
View file @
a5a4347f
...
...
@@ -46,8 +46,8 @@ if Backbone?
@
$
(
"[data-role=thread-flag]"
).
addClass
(
"flagged"
)
@
$
(
"[data-role=thread-flag]"
).
removeClass
(
"notflagged"
)
@
$
(
".discussion-flag-abuse"
).
attr
(
"aria-pressed"
,
"true"
)
@
$
(
".discussion-flag-abuse"
).
attr
(
"data-tooltip"
,
gettext
(
"Misuse Reported"
))
@
$
(
".discussion-flag-abuse .flag-label"
).
html
(
"Misuse Reported"
)
@
$
(
".discussion-flag-abuse"
).
attr
(
"data-tooltip"
,
gettext
(
"Misuse Reported
, click to remove report
"
))
@
$
(
".discussion-flag-abuse .flag-label"
).
html
(
gettext
(
"Misuse Reported, click to remove report"
)
)
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 @
a5a4347f
...
...
@@ -75,7 +75,8 @@ if Backbone?
@
$
(
"[data-role=thread-flag]"
).
addClass
(
"flagged"
)
@
$
(
"[data-role=thread-flag]"
).
removeClass
(
"notflagged"
)
@
$
(
".discussion-flag-abuse"
).
attr
(
"aria-pressed"
,
"true"
)
@
$
(
".discussion-flag-abuse .flag-label"
).
html
(
gettext
(
"Misuse Reported"
))
@
$
(
".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
))
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