Commit 095e1dc2 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

added message queue html

parent 8ea8e5e9
...@@ -18,17 +18,8 @@ ...@@ -18,17 +18,8 @@
<div id="wrap" style="display: flex;"> <div id="wrap" style="display: flex;">
{% include 'layouts/navbar.html' %} {% include 'layouts/navbar.html' %}
<div id="contentcontain" class="container"> <div id="contentcontain" class="container">
{% block reminder %} {% block message_queue %}
{% if request.user.is_authenticated and request.user.student.room == None %} {% include 'messages.html' %}
<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="{% url 'updateStudent' request.user.student.slug %}" class="alert-link">Click here to get set up!</a></h5>
</div>
</div>
</div>
{% endif %}
{% endblock %} {% endblock %}
{% block content %} {% endblock %} {% block content %} {% endblock %}
</div> </div>
......
{% if messages %}
{% for message in messages %}
<div class="row">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable text-center" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">&times;</span></button>
<strong>{{ message }}</strong>
</div>
</div>
</div>
{% endfor %}
{% 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