- Changes to the list views - now using tabulator with filtering and sorting, client-side pagination, ...

- Adaptation of all list views in the app
This commit is contained in:
Josako
2025-07-14 18:58:54 +02:00
parent acad28b623
commit 000636a229
50 changed files with 2162 additions and 2174 deletions

View File

@@ -12,7 +12,16 @@ def prefixed_url_for(endpoint, **values):
if external:
path, query, fragment = urlsplit(generated_url)[2:5]
new_path = prefix + path
# Check if the prefix is already present in the path
if prefix and not path.startswith(prefix):
new_path = prefix + path
else:
new_path = path
return urlunsplit((scheme, host, new_path, query, fragment))
else:
return prefix + generated_url
# Check if the prefix is already present in the generated URL
if prefix and not generated_url.startswith(prefix):
return prefix + generated_url
else:
return generated_url