Commit e0122c05 by David Ormsbee

Merge pull request #7624 from mcgachey/mcgachey-courseware-flags

[LTI Provider] Adding options to suppress chrome for embedding courseware
parents 53c12d51 bc293b05
<%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %>
% if reverifications["must_reverify"]:
% if reverifications:
% if reverifications["must_reverify"]:
% if len(reverifications["must_reverify"]) > 1:
<div class="wrapper-msg urgency-high">
......@@ -57,10 +59,10 @@
</div>
% endfor
%endif
%endif
%endif
%if reverifications["denied"] and denied_banner:
<div class="wrapper-msg urgency-high" id="failed-verification-banner">
%if reverifications["denied"] and denied_banner:
<div class="wrapper-msg urgency-high" id="failed-verification-banner">
<div class="msg msg-reverify is-dismissable">
<div class="msg-content">
<h2 class="title">${_("Your re-verification failed")}</h2>
......@@ -84,4 +86,5 @@
</div>
</div>
</div>
%endif
%endif
......@@ -49,6 +49,7 @@
</title>
</%block>
% if not allow_iframing:
<script type="text/javascript">
/* immediately break out of an iframe if coming from the marketing website */
(function(window) {
......@@ -57,6 +58,7 @@
}
})(this);
</script>
% endif
<script type="text/javascript" src="/jsi18n/"></script>
......@@ -141,13 +143,16 @@
<%include file="mathjax_accessible.html" />
% if not disable_header:
<%include file="${header_file}" />
% endif
<div class="content-wrapper" id="content">
${self.body()}
<%block name="bodyextra"/>
</div>
% if not disable_footer:
<%block name="footer">
## Can be overridden by child templates wanting to hide the footer.
<%
......@@ -160,6 +165,7 @@
%>
<%include file="${footer_file}" />
</%block>
% endif
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment