backups: Reword the no-apps-installed message

Also fix indentation.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
Joseph Nuthalapati 2018-09-23 07:26:07 -07:00
parent 20cbcbc491
commit a601be246a
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35

View File

@ -40,28 +40,27 @@
{% endfor %}
{% if available_apps %}
<p>
<a title="{% trans 'New backup' %}"
role="button" class="btn btn-primary"
href="{% url 'backups:create' %}">
{% trans 'New backup' %}
</a>
</p>
<p>
<a title="{% trans 'New backup' %}"
role="button" class="btn btn-primary"
href="{% url 'backups:create' %}">
{% trans 'New backup' %}
</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
that supports backup has been installed, then it will be possible to
create backups.
{% endblocktrans %}
</p>
<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. Backup can be
created after an app supporting backups is installed.
{% endblocktrans %}
</p>
{% endif %}
<h3>{% trans 'Backup archives' %}</h3>