remove admin stuff #145

This commit is contained in:
rimu 2024-04-08 19:49:56 +12:00
parent b2e678926d
commit 160725b207

View file

@ -11,14 +11,6 @@
{% macro render_topic(topic, depth) %}
<tr>
<td nowrap="nowrap">{{ '--' * depth }} {{ topic['topic'].name }}</td>
<td>{{ topic['topic'].num_communities }}</td>
<td><a href="{{ url_for('admin.admin_topic_edit', topic_id=topic['topic'].id) }}">Edit</a> |
{% if topic['topic'].num_communities == 0 %}
<a href="{{ url_for('admin.admin_topic_delete', topic_id=topic['topic'].id) }}" class="confirm_first">Delete</a>
{% else %}
Delete
{% endif %}
</td>
</tr>
{% if topic['children'] %}
{% for topic in topic['children'] %}