hides discussion publish status on student's edit page
fixes CNVS-11935 test plan - as a student, create a discussion topic - ensure that "Not Published" is not displayed on the top right of the discussion edit page - edit the new discussion - ensure that "Published" is not displayed on the top right of the discussion edit page Change-Id: I5bae83750c16a368bf4d6c58c850d23fa3c7e883 Reviewed-on: https://gerrit.instructure.com/32163 Tested-by: Jenkins <jenkins@instructure.com> QA-Review: Trevor deHaan <tdehaan@instructure.com> Reviewed-by: Braden Anderson <banderson@instructure.com> Product-Review: Joel Hough <joel@instructure.com>
This commit is contained in:
parent
89c78ecc75
commit
ec53eb7faf
|
@ -66,7 +66,7 @@ htmlEscape, DiscussionTopic, Announcement, Assignment, $, preventDefault, Missin
|
|||
canModerate: @permissions.CAN_MODERATE
|
||||
isLargeRoster: ENV?.IS_LARGE_ROSTER || false
|
||||
threaded: data.discussion_type is "threaded"
|
||||
draftStateEnabled: ENV.DRAFT_STATE
|
||||
draftStateEnabled: ENV.DRAFT_STATE && ENV.DISCUSSION_TOPIC.PERMISSIONS.CAN_MODERATE
|
||||
json.assignment = json.assignment.toView()
|
||||
json
|
||||
|
||||
|
|
Loading…
Reference in New Issue