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:
James Valleroy 2018-09-16 07:39:45 -04:00 committed by Joseph Nuthalapati
parent d0dd3e94b5
commit b72d8fdc45
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35

View File

@ -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