Drop one off messaging in template
parent
1b9e89de94
commit
cea5a85ca2
|
@ -56,19 +56,13 @@
|
|||
<div id="content">
|
||||
<div class="wrapper">
|
||||
|
||||
{% if messages or request.GET.docs_not_built %}
|
||||
{% if messages %}
|
||||
<ul class="notifications">
|
||||
{% for message in messages %}
|
||||
<li class="notification notification-{{ message.level }}">
|
||||
{{ message }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
{% if request.GET.docs_not_built %}
|
||||
<li class="notification notification-info">
|
||||
<p>{% trans "Your docs are currently being built. It may take a moment for them to appear." %}</p>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue