Global Banner message: Only show Read more if appropriate

This commit is contained in:
Raphael Michel
2018-08-07 12:39:14 +02:00
parent 18cca916a0
commit 1ad11b0c58

View File

@@ -320,7 +320,7 @@
<div class="impersonate-warning">
<span class="fa fa-bell"></span>
{{ global_settings.banner_message }}
{% if global_settings.banner_message %}
{% if global_settings.banner_message_detail %}
<a href="{% url 'control:global.message' %}">
{% trans "Read more" %}
</a>