aboutsummaryrefslogtreecommitdiff
path: root/app/templates/users
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/users
parent21960f24047bdf64eff99ec955ff2229c49eff50 (diff)
downloadcheatdb-0b83d2f2b5461c402120b089e2686c1ce4c63b25.tar.xz
Add task to bulk import avatars from forum
Diffstat (limited to 'app/templates/users')
-rw-r--r--app/templates/users/user_profile_page.html4
1 files changed, 2 insertions, 2 deletions
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 %}