Add missing list-namespaces.j2 template for topsecret route.

The topsecret-namespaces view referenced this template but it was
never created, causing 500 errors on /topsecret/namespaces.
This commit is contained in:
russell@unturf.com 2026-02-05 15:47:50 -05:00
parent af3132930d
commit efd2e9f8b4

View file

@ -0,0 +1,18 @@
{% extends request.base_template -%}
{% block title %}{{ the_title }} | {{ request.domain }}{%- endblock -%}
{% block content -%}
<h3>{{ the_title }}</h3>
<table>
<tr><th>Namespace</th><th>Description</th></tr>
{% for namespace in namespaces %}
<tr>
<td><a href="{{ request.link_prefix }}/ns/{{ namespace.name }}">{{ namespace.name }}</a></td>
<td>{{ namespace.description or '' }}</td>
</tr>
{% endfor -%}
</table>
{%- endblock -%}