improved overflows in the borg repository table

This commit is contained in:
Johannes Erwerle 2026-05-12 15:17:06 +02:00
parent 528d7b9e4b
commit d0b7158423

View file

@ -25,8 +25,8 @@
{% for repo in object_list %}
<tr>
<td>{{ repo.name }}</td>
<td><code>{{ repo.truncated_key }}</code></td>
<td><code>{{ repo.repo_url }}</code></td>
<td style="word-break: break-all"><code>{{ repo.truncated_key }}</code></td>
<td style="word-break: break-all"><code>{{ repo.repo_url }}</code></td>
<td>{% if repo.used_quota < 0 %}not initialized{% else %}{{ repo.used_quota }}/{{ repo.quota }} GB{% endif %}</td>
<td><a href="{% url 'borg_update' pk=repo.pk %}" class="btn btn-warning btn-sm">Edit</a>
<a href="{% url 'borg_delete' pk=repo.pk %}" class="btn btn-danger btn-sm">Delete</a></td>