diff --git a/README.md b/README.md
index 8209c94..3722f82 100644
--- a/README.md
+++ b/README.md
@@ -78,6 +78,14 @@ Create a superuser account
```
+### Repository Quota Updates
+
+The repository quotas in the UI are updated after each backup.
+To update the quota during an operation the `update_used_quota` management command can be executed on a regular basis.
+
+There are example configs for systemd-timers in `contrib/communitybackup-quota-update.service` and `contrib/communitybackup-quota-update.timer`. Adjust the paths and the timers to your needs.
+
+
## Custom pages
Some pages are specific to your installation. E.g. an imprint.
@@ -138,3 +146,33 @@ Django debug setting.
### BACKUP_MANAGE_PY
`BACKUP_MANAGE_PY` is the command to run the `manage.py` file, including e.g. a Python interpreter, venv, etc. This must be a `pathlib.Path`
+
+### ADDITIONAL_FOOTER_NAV_ITEMS
+
+`ADDITIONAL_FOOTER_NAV_ITEMS` allows you to add additional links to the footer. This is a `list[str]`. Each item gets rendered as is into a `
`. So usually you want to continue the proper Bootstrap styling in the lst. E.g.:
+
+```python
+ADDITIONAL_FOOTER_NAV_ITEMS = ["""
+ {% if ADDITIONAL_FOOTER_NAV_ITEMS %}
+
+
+ {% for item in ADDITIONAL_FOOTER_NAV_ITEMS %}
+ -
+ {{item|safe}}
+
+ {% endfor %}
+
+
+ {% endif %}
diff --git a/community_backup/webui/templates/borg_list.html b/community_backup/webui/templates/borg_list.html
index f2e550b..2f6e7c7 100644
--- a/community_backup/webui/templates/borg_list.html
+++ b/community_backup/webui/templates/borg_list.html
@@ -25,8 +25,8 @@
{% for repo in object_list %}
| {{ repo.name }} |
- {{ repo.truncated_key }} |
- {{ repo.repo_url }} |
+ {{ repo.truncated_key }} |
+ {{ repo.repo_url }} |
{% if repo.used_quota < 0 %}not initialized{% else %}{{ repo.used_quota }}/{{ repo.quota }} GB{% endif %} |
Edit
Delete |
@@ -35,6 +35,21 @@
+{% if BORG_SERVER_PUBKEYS %}
+
+
+
+ {% for key, fingerprint in BORG_SERVER_PUBKEYS %}
+ -
+
{{ key }}
+ {{ fingerprint }}
+
+ {% endfor %}
+
+
+{% endif %}
diff --git a/pyproject.toml b/pyproject.toml
index eb5c918..2412b09 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "community_backup"
-version = "0.9"
+version = "0.12"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"