diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index 7367955fc..103c17fd2 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -2,156 +2,155 @@ {% block pagetitle %}Admin Home{% endblock %} {% block customPadding %}px-3{% endblock %} {% block content %} -
- | @{{u1.username}} only (% unique) | -Both | -@{{u2.username}} only (% unique) | -
---|---|---|---|
Post Upvotes | -{{data['u1_only_post_ups']}} ({{data['u1_post_ups_unique']}}%) | -{{data['both_post_ups']}} | -{{data['u2_only_post_ups']}} ({{data['u2_post_ups_unique']}}%) | -
Post Downvotes | -{{data['u1_only_post_downs']}} ({{data['u1_post_downs_unique']}}%) | -{{data['both_post_downs']}} | -{{data['u2_only_post_downs']}} ({{data['u2_post_downs_unique']}}%) | -
Comment Upvotes | -{{data['u1_only_comment_ups']}} ({{data['u1_comment_ups_unique']}}%) | -{{data['both_comment_ups']}} | -{{data['u2_only_comment_ups']}} ({{data['u2_comment_ups_unique']}}%) | -
Comment Downvotes | -{{data['u1_only_comment_downs']}} ({{data['u1_comment_downs_unique']}}%) | -{{data['both_comment_downs']}} | -{{data['u2_only_comment_downs']}} ({{data['u2_comment_downs_unique']}}%) | -
+ | @{{u1.username}} only (% unique) | +Both | +@{{u2.username}} only (% unique) | +
---|---|---|---|
Post Upvotes | +{{data['u1_only_post_ups']}} ({{data['u1_post_ups_unique']}}%) | +{{data['both_post_ups']}} | +{{data['u2_only_post_ups']}} ({{data['u2_post_ups_unique']}}%) | +
Post Downvotes | +{{data['u1_only_post_downs']}} ({{data['u1_post_downs_unique']}}%) | +{{data['both_post_downs']}} | +{{data['u2_only_post_downs']}} ({{data['u2_post_downs_unique']}}%) | +
Comment Upvotes | +{{data['u1_only_comment_ups']}} ({{data['u1_comment_ups_unique']}}%) | +{{data['both_comment_ups']}} | +{{data['u2_only_comment_ups']}} ({{data['u2_comment_ups_unique']}}%) | +
Comment Downvotes | +{{data['u1_only_comment_downs']}} ({{data['u1_comment_downs_unique']}}%) | +{{data['both_comment_downs']}} | +{{data['u2_only_comment_downs']}} ({{data['u2_comment_downs_unique']}}%) | +
Accounts are known alts of each other.
- {% else %} -Two accounts controlled by different people should have most uniqueness percentages at or above 70-80%
-A sockpuppet account will have its uniqueness percentages significantly lower.
+ {% if u2 in get_alt_graph(u1.id) %} +Accounts are known alts of each other.
+ {% else %} +Two accounts controlled by different people should have most uniqueness percentages at or above 70-80%
+A sockpuppet account will have its uniqueness percentages significantly lower.
- + + {% endif %} + {% endif %} {% endif %} -{% endif %} -{% endif %} {% endblock %} diff --git a/files/templates/admin/alts.html b/files/templates/admin/alts.html index 5b672115b..2fc07abaa 100644 --- a/files/templates/admin/alts.html +++ b/files/templates/admin/alts.html @@ -1,60 +1,60 @@ {% extends "settings2.html" %} {% block pagetitle %}Alts{% if u %} for @{{u.username}}{% endif %}{% endblock %} {% block content %} -{% if u %} -@{{u.username}} created their account {{u.created_utc|timestamp}} and has {{count}} known alt{{macros.plural(count)}}.
- They are {% if not u.is_permabanned %}not {% endif %}permanently banned{% if v.can_see_shadowbanned %} and they are {% if not u.shadowbanned %}not {% endif %}shadowbanned{% endif %}.
# | -Name | -Account Created | -Manual | -Actions | -
---|---|---|---|---|
{{loop.index}} | -{% include "user_in_table.html" %} | -{{user.created_utc|timestamp}} | -{{user._is_manual}} | -- - Alts - {% if v.admin_level >= PERMS['VIEW_ALT_VOTES'] %} - Alt Votes - {% endif %} - | -
This tool allows you to link an alt.
- - - -@{{u.username}} created their account {{u.created_utc|timestamp}} and has {{count}} known alt{{macros.plural(count)}}.
+ They are {% if not u.is_permabanned %}not {% endif %}permanently banned{% if v.can_see_shadowbanned %} and they are {% if not u.shadowbanned %}not {% endif %}shadowbanned{% endif %}.
# | +Name | +Account Created | +Manual | +Actions | +
---|---|---|---|---|
{{loop.index}} | +{% include "user_in_table.html" %} | +{{user.created_utc|timestamp}} | +{{user._is_manual}} | ++ + Alts + {% if v.admin_level >= PERMS['VIEW_ALT_VOTES'] %} + Alt Votes + {% endif %} + | +
This tool allows you to link an alt.
+ + + +