Commit 6b2a0969 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

add alert to students who haven't yet set their room

parent ef00b060
......@@ -18,6 +18,18 @@
<div id="wrap" style="display: flex;">
{% include 'layouts/navbar.html' %}
<div id="contentcontain" class="container">
{% block reminder %}
{% if request.user.is_authenticated and request.user.student.room == None %}
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="alert alert-info alert-dismissible text-center" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h5>Looks like you haven't yet selected what room you're in. <a href="#" class="alert-link">Click here to get set up!</a></h5>
</div>
</div>
</div>
{% endif %}
{% endblock %}
{% block content %} {% endblock %}
</div>
</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