forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add unmute assignment warning dialog to speedgrader
This adds an unmute dialog to SpeedGrader mimicking what already exists in Gradebook. fixes CNVS-34824 test plan: - Have a class with a muted assignment and a student. - Go into SpeedGrader for the assignment. - Click the mute/unmute icon. - Note the Unmute Assignment dialog appears. - Click the Unmute Assignment button. - Note the icon is now in the "unmuted" state. - Go to gradebook and confirm assignment is unmuted. Change-Id: Id398c6e17ee85c60f15aa2c7450df5be8f408bcc Reviewed-on: https://gerrit.instructure.com/101772 Tested-by: Jenkins Reviewed-by: Jeremy Neander <[email protected]> Reviewed-by: Shahbaz Javeed <[email protected]> QA-Review: KC Naegle <[email protected]> Product-Review: Christi Wruck
- Loading branch information
Showing
4 changed files
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div id="unmute_dialog" style="display: none; width: 400px;" data-title="<%= t("Unmute Assignment") %>"> | ||
<%= | ||
mt(:unmute_dialog, <<-STR) | ||
This assignment is currently muted. That means students can't see their grades and feedback. Would you like to unmute now? | ||
STR | ||
%> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters