aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-12-25 19:49:17 +0000
committerrubenwardy <rw@rubenwardy.com>2018-12-25 19:49:17 +0000
commit0b83d2f2b5461c402120b089e2686c1ce4c63b25 (patch)
treef70972c9f8abf511d793633b35ff6dfa6947373e /app/templates
parent21960f24047bdf64eff99ec955ff2229c49eff50 (diff)
downloadcheatdb-0b83d2f2b5461c402120b089e2686c1ce4c63b25.tar.xz
Add task to bulk import avatars from forum
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/admin/list.html1
-rw-r--r--app/templates/users/user_profile_page.html4
2 files changed, 3 insertions, 2 deletions
diff --git a/app/templates/admin/list.html b/app/templates/admin/list.html
index 5237304..d4e4da6 100644
--- a/app/templates/admin/list.html
+++ b/app/templates/admin/list.html
@@ -20,6 +20,7 @@
<select name="action">
<option value="importmodlist" selected>Import forum topics</option>
<option value="recalcscores">Recalculate package scores</option>
+ <option value="checkusers">Check forum users</option>
<option value="importscreenshots">Import screenshots from VCS</option>
<!-- <option value="importdepends">Import dependencies from downloads</option> -->
<!-- <option value="modprovides">Set provides to mod name</option> -->
diff --git a/app/templates/users/user_profile_page.html b/app/templates/users/user_profile_page.html
index 26988ba..cdb9ad1 100644
--- a/app/templates/users/user_profile_page.html
+++ b/app/templates/users/user_profile_page.html
@@ -139,7 +139,7 @@
{% from "macros/packagegridtile.html" import render_pkggrid %}
{{ render_pkggrid(packages, show_author=False) }}
-{% if current_user == user or (current_user.is_authenticated and current_user.rank.atLeast(UserRank.EDITOR)) %}
+{% if current_user == user or (current_user.is_authenticated and current_user.rank.atLeast(current_user.rank.EDITOR)) %}
<div class="card mt-3">
<a name="unadded-topics"></a>
<h2 class="card-header">Unadded topics</h2>
@@ -153,7 +153,7 @@
{% from "macros/topics.html" import render_topics_table %}
{{ render_topics_table(topics_to_add, show_author=False, show_discard=True, current_user=current_user) }}
{% else %}
- <p>Congrats! You don't have any topics which aren't on CDB.</p>
+ <p class="card-body">Congrats! You don't have any topics which aren't on CDB.</p>
{% endif %}
</div>
{% endif %}