36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
<%
|
|
# Copyright (C) 2011 - 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/>.
|
|
%>
|
|
|
|
<%
|
|
provide :page_title, join_title(@page.title.to_s, @context.name)
|
|
%>
|
|
|
|
<% unless @page.locked_for?(@current_user, {check_policies: true, context: @context, deep_check_if_needed: true}) %>
|
|
<%= render "shared/mark_as_done" %>
|
|
<% end %>
|
|
<div id="wiki_page_show"></div>
|
|
<% if @context.root_account.feature_enabled?(:outcome_alignment_non_scoring_content) %>
|
|
<% js_bundle :outcome_alignments %>
|
|
<%= render partial: 'shared/outcome_alignments',
|
|
locals: {
|
|
artifact: @page,
|
|
context: @context,
|
|
empty_set_heading: t('Align outcomes to this page') } %>
|
|
<% end %>
|
|
<div id="module_navigation_target"></div>
|