Commit 3a7624d3 by Your Name

modify verbiage of flagging

parent 8ad01c73
......@@ -47,9 +47,11 @@ if Backbone?
if window.user.id in @model.get("abuse_flaggers")
@$("[data-role=thread-flag]").addClass("flagged")
@$("[data-role=thread-flag]").removeClass("notflagged")
@$(".discussion-flag-abuse .flag-label").html("Misuse Reported")
else
@$("[data-role=thread-flag]").removeClass("flagged")
@$("[data-role=thread-flag]").addClass("notflagged")
@$(".discussion-flag-abuse .flag-label").html("ReportMisuse")
updateModelDetails: =>
@renderVoted()
......
......@@ -46,7 +46,7 @@
<div class="post-body">${'<%- body %>'}</div>
<div class="discussion-flag-abuse notflagged" data-role="thread-flag" data-tooltip="flag">
<i class="icon"></i>Report Misuse</div>
<i class="icon"></i><span class="flag-label">Report Misuse</span></div>
${'<% if (obj.courseware_url) { %>'}
......@@ -138,7 +138,7 @@
<div id="comment_${'<%- id %>'}">
<div class="response-body">${'<%- body %>'}</div>
<div class="discussion-flag-abuse notflagged" data-role="thread-flag" data-tooltip="flag">
<i class="icon"></i></div>
<i class="icon"></i><span class="flag-label">Report Misuse</span></div>
<p class="posted-details">&ndash;posted <span class="timeago" title="${'<%- created_at %>'}">${'<%- created_at %>'}</span> by
${"<% if (obj.username) { %>"}
<a href="${'<%- user_url %>'}" class="profile-link">${'<%- username %>'}</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment