mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
remove admin stuff #145
This commit is contained in:
parent
b2e678926d
commit
160725b207
1 changed files with 0 additions and 8 deletions
|
@ -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'] %}
|
||||
|
|
Loading…
Add table
Reference in a new issue