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:
parent
af3132930d
commit
efd2e9f8b4
1 changed files with 18 additions and 0 deletions
18
remarkbox/templates/list-namespaces.j2
Normal file
18
remarkbox/templates/list-namespaces.j2
Normal 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 -%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue