backups: Rename 'Abort' buttons to 'Cancel'

Like most other pages in the interface, use 'Cancel' buttons instead of 'Abort'
buttons.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2019-01-30 15:22:07 -08:00 committed by James Valleroy
parent df978ce8ee
commit d99c356336
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
3 changed files with 8 additions and 11 deletions

View File

@ -41,9 +41,8 @@
<input type="submit" class="btn btn-primary"
value="{% trans "Create Repository" %}"/>
<a class="abort btn btn-sm btn-default"
href="{% url 'backups:index' %}">
{% trans "Abort" %}
<a class="btn btn-default" role="button" href="{% url 'backups:index' %}">
{% trans "Cancel" %}
</a>
</form>

View File

@ -44,9 +44,9 @@
<input type="submit" class="btn btn-danger"
value="{% trans "Remove Repository" %}"/>
<a class="abort btn btn-sm btn-default"
<a class="btn btn-default" role="button"
href="{% url 'backups:index' %}">
{% trans "Abort" %}
{% trans "Cancel" %}
</a>
</form>
</p>

View File

@ -43,15 +43,13 @@
value="{% trans 'Restore' %}" />
<button id="loading_btn" class="btn btn-primary sr-only" disabled>
<i class="fa fa-spinner fa-pulse fa-fw"></i> {% blocktrans trimmed %}
Restoring
{% endblocktrans %}
<i class="fa fa-spinner fa-pulse fa-fw"></i>
{% trans "Restoring" %}
</button>
<a title="{% trans 'Abort' %}"
role="button" class="btn btn-warning"
<a class="btn btn-default" role="button"
href="{% url 'backups:index' %}">
{% trans 'Abort' %}
{% trans "Cancel" %}
</a>
</form>
</p>