aboutsummaryrefslogtreecommitdiff
path: root/app/templates/users
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-06-02 18:22:57 +0100
committerrubenwardy <rw@rubenwardy.com>2018-06-02 18:26:17 +0100
commit70afb94d3b985e314ff1f922294875e43c56fefc (patch)
tree6743df30af1b00f5ed457155bbca0724f639c97d /app/templates/users
parent8984adaa728c6c1c9bafb8c1ba5ea227bb17aa5b (diff)
downloadcheatdb-70afb94d3b985e314ff1f922294875e43c56fefc.tar.xz
Add topics todo list based on forum parser
Diffstat (limited to 'app/templates/users')
-rw-r--r--app/templates/users/user_profile_page.html23
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 %}