Commit bc293b05 by Phil McGachey

[LTI Provider] Made reverifications parameter to courseware optional

parent 3f7d6377
<%! from django.utils.translation import ugettext as _ %> <%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
% if reverifications["must_reverify"]:
% if reverifications:
% if reverifications["must_reverify"]:
% if len(reverifications["must_reverify"]) > 1: % if len(reverifications["must_reverify"]) > 1:
<div class="wrapper-msg urgency-high"> <div class="wrapper-msg urgency-high">
...@@ -57,10 +59,10 @@ ...@@ -57,10 +59,10 @@
</div> </div>
% endfor % endfor
%endif %endif
%endif %endif
%if reverifications["denied"] and denied_banner: %if reverifications["denied"] and denied_banner:
<div class="wrapper-msg urgency-high" id="failed-verification-banner"> <div class="wrapper-msg urgency-high" id="failed-verification-banner">
<div class="msg msg-reverify is-dismissable"> <div class="msg msg-reverify is-dismissable">
<div class="msg-content"> <div class="msg-content">
<h2 class="title">${_("Your re-verification failed")}</h2> <h2 class="title">${_("Your re-verification failed")}</h2>
...@@ -84,4 +86,5 @@ ...@@ -84,4 +86,5 @@
</div> </div>
</div> </div>
</div> </div>
%endif
%endif %endif
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