aboutsummaryrefslogtreecommitdiff
path: root/app/templates/users
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-06-02 19:41:13 +0100
committerrubenwardy <rw@rubenwardy.com>2018-06-02 19:41:13 +0100
commit3657316fa23e85b82b4259b2f993e020309c7f24 (patch)
treefeba56051cff65335e93ef96067fd9209674031d /app/templates/users
parenta6f4249afb7018c43e69a7e7c7e69e53bf04aa8d (diff)
downloadcheatdb-3657316fa23e85b82b4259b2f993e020309c7f24.tar.xz
Clean up todo topics related HTML
Diffstat (limited to 'app/templates/users')
-rw-r--r--app/templates/users/user_profile_page.html37
1 files changed, 22 insertions, 15 deletions
diff --git a/app/templates/users/user_profile_page.html b/app/templates/users/user_profile_page.html
index 7181fc2..5c5113b 100644
--- a/app/templates/users/user_profile_page.html
+++ b/app/templates/users/user_profile_page.html
@@ -100,24 +100,31 @@
{% if topics_to_add %}
<div class="box box_grey">
- <h2>Topics to Add</h2>
+ <h2>Unadded Packages</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 %}
+ <div class="box-body">
+ <p>
+ List of your topics without a matching package.
+ Powered by Krock's Mod Search.
+ </p>
+
+ <table>
<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>
+ <th>Id</th>
+ <th>Title</th>
+ <th>Name</th>
+ <th>Link</th>
</tr>
- {% endfor %}
- </table>
+ {% 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>
</div>
{% endif %}