diff options
Diffstat (limited to 'app/templates/users/user_profile_page.html')
| -rw-r--r-- | app/templates/users/user_profile_page.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/templates/users/user_profile_page.html b/app/templates/users/user_profile_page.html index 4631256..7181fc2 100644 --- a/app/templates/users/user_profile_page.html +++ b/app/templates/users/user_profile_page.html @@ -98,4 +98,27 @@ {% from "macros/packagegridtile.html" import render_pkggrid %} {{ render_pkggrid(packages, show_author=False) }} +{% if topics_to_add %} + <div class="box box_grey"> + <h2>Topics to Add</h2> + + <table class="box-body"> + <tr> + <th>Id</th> + <th>Title</th> + <th>Name</th> + <th>Link</th> + </tr> + {% for topic in topics_to_add %} + <tr> + <td>{{ topic.topic_id }}</td> + <td>[{{ topic.getType().value }}] <a href="https://forum.minetest.net/viewtopic.php?t={{ topic.topic_id}}">{{ topic.title }}</a></td> + <td>{{ topic.name or ""}}</td> + <td><a href="{{ topic.link }}">{{ topic.link | domain }}</a></td> + </tr> + {% endfor %} + </table> + </div> +{% endif %} + {% endblock %} |
