mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
backups: Show disabled 'New backup' button when no apps installed
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
parent
d0dd3e94b5
commit
b72d8fdc45
@ -48,6 +48,13 @@
|
||||
</a>
|
||||
</p>
|
||||
{% else %}
|
||||
<p>
|
||||
<a title="{% trans 'New backup' %}"
|
||||
role="button" class="btn btn-primary disabled"
|
||||
href="{% url 'backups:create' %}">
|
||||
{% trans 'New backup' %}
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
No apps that support backup are currently installed. After any app
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user