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" <input type="submit" class="btn btn-primary"
value="{% trans "Create Repository" %}"/> value="{% trans "Create Repository" %}"/>
<a class="abort btn btn-sm btn-default" <a class="btn btn-default" role="button" href="{% url 'backups:index' %}">
href="{% url 'backups:index' %}"> {% trans "Cancel" %}
{% trans "Abort" %}
</a> </a>
</form> </form>

View File

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

View File

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