security: Don't show report button as part of backports notice

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2020-07-13 14:48:24 -07:00 committed by James Valleroy
parent 56c402fb8b
commit 27d5d93e58
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -7,6 +7,12 @@
{% load i18n %}
{% block status %}
<a class="btn btn-default" role="button" href="{% url 'security:report' %}"
title="{% trans 'Show security report' %}">
<span class="fa fa-line-chart" aria-hidden="true"></span>
{% trans "Show security report" %}
</a>
{% if is_backports_enabled %}
<h3>{% trans "Security Notice" %}</h3>
<p>
@ -18,10 +24,4 @@
{% endblocktrans %}
</p>
{% endif %}
<a class="btn btn-default" role="button" href="{% url 'security:report' %}"
title="{% trans 'Show security report' %}">
<span class="fa fa-line-chart" aria-hidden="true"></span>
{% trans "Show security report" %}
</a>
{% endblock %}