12345678910111213141516171819202122232425262728293031323334353637 |
- <%
- # Copyright (C) 2012 - 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 <http://www.gnu.org/licenses/>.
- %>
- <%
- content_for :page_title, topic_page_title(@topic)
- js_bundle :discussion_topics_edit
- css_bundle :tinymce, :grading_standards, :assignments_edit, :discussions_edit
- %>
- <% content_for(:right_side) do %>
- {{> views/shared/wiki_sidebar}}
- <% end %>
- <% if @context.is_a?(Course) %>
- <div id="edit_letter_grades_form" style="display: none;">
- <%= render partial: "shared/grading_standard", object: @topic.assignment.try(:grading_standard), locals: {read_only: false} %>
- <a href="<%= context_url(@context, :context_grading_standards_url) %>" style="display: none;" class="create_grading_standard_url"> </a>
- <a href="<%= context_url(@context, :context_grading_standard_url, "{{ id }}") %>" style="display: none;" id="update_grading_standard_url"> </a>
- </div>
- <% end %>
|