<% # Copyright (C) 2015 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more # details. # # You should have received a copy of the GNU Affero General Public License along # with this program. If not, see . %> <% provide :page_title, join_title(t(:page_title, "Course Link Validator"), @context.name) js_env({ :validation_api_url => api_v1_course_link_validation_url(@context), :validation_poll_timeout => Setting.get('link_validator_poll_timeout', 10000).to_f, :validation_poll_timeout_initial => Setting.get('link_validator_poll_timeout_initial', 2000).to_f, :VALIDATION_CONFETTI_ENABLED => @domain_root_account&.feature_enabled?(:confetti_for_valid_links) }) js_bundle :course_link_validator css_bundle :course_link_validator %>