mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +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 %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block status %}
|
{% 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 %}
|
{% if is_backports_enabled %}
|
||||||
<h3>{% trans "Security Notice" %}</h3>
|
<h3>{% trans "Security Notice" %}</h3>
|
||||||
<p>
|
<p>
|
||||||
@ -18,10 +24,4 @@
|
|||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user