canvas-lms/app/views
Xander Moffatt 54be1888b3 show new MC icon in assignment/module index
why:
* tweaking previous commit g/287726 to properly show the new icon based
on the FF

refs EVAL-2304, INTEROP-7308
flag=updated_mastery_connect_icon

test plan:
* with an LTI tool installed in a course and an
unpublished assignment of external_tool submission type
in that course
* enable the updated_mastery_connect_icon FF for site_admin
* in a rails console, make this assignment seem like it's for Mastery
Connect:
```
assignment.external_tool_tag.update!(external_data: {
"key"=>"https://canvas.instructure.com/lti/mastery_connect_assessment",
"objectives" => "6.RP.A.1"
})
```
* in the assignment index, this assignment should use the unpublished
MC icon (dark grey)
* in the modules index, add this assignment to a module. it should use
the unpublished MC icon
* publish the assignment
* in the assignment index, it should use the published MC icon (green)
* in the module index, publish it if needed - it should use the
published MC icon (green)

Change-Id: Ieb72565e0242e5064e7327319e7fcb4eed7f8007
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/288631
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Xander Moffatt <xmoffatt@instructure.com>
Product-Review: Xander Moffatt <xmoffatt@instructure.com>
2022-03-31 17:30:48 +00:00
..
accounts tweak default due time setting description 2022-03-21 15:38:05 +00:00
alerts da licença part 55 2017-04-28 19:42:23 +00:00
announcements Remove all content_for :auto_discovery’s 2019-07-25 20:20:12 +00:00
assignments add submission comment emojis 🎉 2022-03-17 14:46:07 +00:00
authentication_providers rename Canvas::DynamicSettings => DynamicSettings 2022-01-12 21:54:51 +00:00
blackout_dates Add blackout_dates controller 2022-03-09 16:48:18 +00:00
brand_configs remove "responsive_admin_settings" flag 2020-07-22 21:08:43 +00:00
calendar_events Remove rce_enhancements flag from canvas - Phase 2 2021-10-08 18:26:24 +00:00
calendars Remove calendar conferences feature flag 2021-08-10 20:46:47 +00:00
collaborations update text in collaborations page 2022-03-23 18:40:36 +00:00
communication_channels simplify/modernize google analytics & load faster 2019-08-02 20:07:18 +00:00
conferences add landing page for confs with BBB disabled 2020-03-18 18:19:19 +00:00
content_exports don't output variable assignment in erb 2020-04-21 22:11:14 +00:00
content_migrations fix DOM-ready on migrations, settings, syllabus 2021-12-13 21:07:31 +00:00
context show custom role names for users in course/detail/section pages 2022-01-13 18:31:01 +00:00
context_modules show new MC icon in assignment/module index 2022-03-31 17:30:48 +00:00
conversations Removes covid responsive flagging 2022-02-17 21:43:00 +00:00
course_paces Refactor PacePlan to CoursePace 2022-03-15 19:10:16 +00:00
courses tweak default due time setting description 2022-03-21 15:38:05 +00:00
developer_keys rename some things 2021-04-06 01:12:49 +00:00
discussion_topics Removes covid responsive flagging 2022-02-17 21:43:00 +00:00
eportfolios fix eportfolios_page_content for rails 6.1 2022-03-10 20:21:31 +00:00
epub_exports replace content_for :page_title or :title w/ provide 2019-07-17 17:25:51 +00:00
errors Improve error reports 2022-03-30 15:41:27 +00:00
external_content rename some things 2021-04-06 01:12:49 +00:00
external_tools rework global navigation cache to work with permission checks 2020-01-24 17:21:49 +00:00
file_previews Fix file preview for files-domain with inst-fs sw 2020-09-01 17:42:22 +00:00
files rename some things 2021-04-06 01:12:49 +00:00
gradebook_uploads Support translated community links 2021-08-04 21:22:12 +00:00
gradebooks add submission comment emojis 🎉 2022-03-17 14:46:07 +00:00
grading_standards replace content_for :page_title or :title w/ provide 2019-07-17 17:25:51 +00:00
graphql more easy/safe stuff split out from streaming commit 2019-07-19 15:38:26 +00:00
groups RuboCop: heredocs 2021-11-16 06:36:00 +00:00
info RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
jobs bump inst-jobs 2021-09-24 19:58:14 +00:00
jst rename some things 2021-04-06 01:12:49 +00:00
layouts Introduce Layout for Discussion Redesign on Mobile 2022-03-30 20:55:12 +00:00
login RuboCop: heredocs 2021-11-16 06:36:00 +00:00
lti Revert "Disable padding for LTI tool on very small screens" 2022-02-17 01:38:40 +00:00
messages add messages show 2020-05-04 20:09:10 +00:00
oauth2_provider more easy/safe stuff split out from streaming commit 2019-07-19 15:38:26 +00:00
one_time_passwords add streaming templates: part 1 2019-07-31 19:23:44 +00:00
outcomes Display improved outcomes UI if IORCMO FF enabled 2021-12-01 17:53:18 +00:00
page_views Revert "Page Views table I18n Date Fix and React redesign" 2022-03-02 16:08:52 +00:00
plugins Bump min mobile timeout to 2 days 2022-01-10 17:43:19 +00:00
profile Add "feature preview" pill 2021-11-16 17:59:55 +00:00
pseudonyms more easy/safe stuff split out from streaming commit 2019-07-19 15:38:26 +00:00
question_banks Replace some href-less <a> with <buttons> for Voiceover 2022-01-06 19:08:37 +00:00
quizzes defer take_quiz js_bundle 2022-01-10 22:25:09 +00:00
role_overrides more easy/safe stuff split out from streaming commit 2019-07-19 15:38:26 +00:00
rubrics make "Add Rubric" link a button 2021-11-15 21:07:02 +00:00
search replace content_for :page_title or :title w/ provide 2019-07-17 17:25:51 +00:00
sections Clean up rest of :manage_admin_users perm 2021-02-17 05:09:28 +00:00
self_enrollments Update text for "Join this course" button 2021-10-26 20:11:12 +00:00
shared update acceptance use policy to be an actual link 2022-03-25 15:03:58 +00:00
sub_accounts add set_active_tab method in preparation for streaming 2019-07-30 12:22:15 +00:00
submission_comments fix utf8 comments crashing prawn 2020-01-09 21:26:52 +00:00
submissions add submission comment emojis 🎉 2022-03-17 14:46:07 +00:00
terms Replace some href-less <a> with <buttons> for Voiceover 2022-01-06 19:08:37 +00:00
user_notes add set_active_tab method in preparation for streaming 2019-07-30 12:22:15 +00:00
users Tweak param name in dashboard_cards and favorites apis 2022-03-11 20:53:03 +00:00
wiki_pages Remove rce_enhancements flag from canvas - Phase 2 2021-10-08 18:26:24 +00:00