mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
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:
parent
56c402fb8b
commit
27d5d93e58
@ -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 %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user