FreedomBox/plinth/modules/backups/templates/backups_repository_remove.html
Sunil Mohan Adapa 2208a7b210
backups: tests: Simplify functional test using more classes
- This makes the functional test focus more on the repository that is added
rather than all remote repositories.

Tests:

- Functional tests for backups app works.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2026-02-05 22:33:33 -08:00

36 lines
772 B
HTML

{% extends "base.html" %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load bootstrap %}
{% load i18n %}
{% block content %}
<h2>{{ title }}</h2>
<p>
{% trans "Are you sure that you want to remove this repository?" %}
</p>
<p>
<b>{{ repository.name }}</b>
</p>
<p>
{% blocktrans trimmed %}
The remote repository will not be deleted.
This just removes the repository from the listing on the backup page, you
can add it again later on.
{% endblocktrans %}
</p>
<p>
<form class="form form-remove-location" method="post">
{% csrf_token %}
<input type="submit" class="btn btn-danger"
value="{% trans "Remove Location" %}"/>
</form>
</p>
{% endblock %}