From 3a7624d384db816d9f9433c6f22bf83e68e144f5 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 5 Dec 2012 11:20:31 -0500 Subject: [PATCH] modify verbiage of flagging --- .../src/discussion/views/discussion_thread_show_view.coffee | 2 ++ lms/templates/discussion/_underscore_templates.html | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lms/static/coffee/src/discussion/views/discussion_thread_show_view.coffee b/lms/static/coffee/src/discussion/views/discussion_thread_show_view.coffee index f9519236c3..4543a55cb5 100644 --- a/lms/static/coffee/src/discussion/views/discussion_thread_show_view.coffee +++ b/lms/static/coffee/src/discussion/views/discussion_thread_show_view.coffee @@ -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() diff --git a/lms/templates/discussion/_underscore_templates.html b/lms/templates/discussion/_underscore_templates.html index 0fcb309b0f..6f7b933d12 100644 --- a/lms/templates/discussion/_underscore_templates.html +++ b/lms/templates/discussion/_underscore_templates.html @@ -46,7 +46,7 @@
${'<%- body %>'}
- Report Misuse
+ Report Misuse ${'<% if (obj.courseware_url) { %>'} @@ -138,7 +138,7 @@
${'<%- body %>'}
-
+ Report Misuse

–posted ${'<%- created_at %>'} by ${"<% if (obj.username) { %>"} ${'<%- username %>'}