Commit b5feb074 by Diana Huang

Add in a hook to indicate whether or not the logged in user is active

parent c96a29d7
......@@ -132,7 +132,7 @@ def show_requirements(request, course_id):
"""
Show the requirements necessary for
"""
context = { "course_id": course_id }
context = { "course_id": course_id, "is_not_active": not request.user.is_active}
return render_to_response("verify_student/show_requirements.html", context)
def face_upload(request):
......
......@@ -20,6 +20,9 @@
</span>
</h2>
</header>
%if is_not_active:
<p>I AM NOT ACTIVE.</p>
%endif
<div class="wrapper-progress">
<section class="progress">
......
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