diff --git a/app/templates/admin/users.html b/app/templates/admin/users.html
index 17b0e90e..3a50a508 100644
--- a/app/templates/admin/users.html
+++ b/app/templates/admin/users.html
@@ -25,8 +25,6 @@
{{ _('Reputation') }} |
{{ _('Banned') }} |
{{ _('Reports') }} |
- {{ _('IP and country code') }} |
- {{ _('Source') }} |
{{ _('Actions') }} |
{% for user in users.items %}
@@ -45,8 +43,6 @@
{{ 'Banned posts'|safe if user.ban_posts }}
{{ 'Banned comments'|safe if user.ban_comments }}
{{ user.reports if user.reports > 0 }} |
- {{ user.ip_address if user.ip_address }} {{ user.ip_address_country if user.ip_address_country }} |
- {{ user.referrer if user.referrer }} |
Edit |
Delete
|
@@ -74,4 +70,4 @@
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/app/templates/admin/users_trash.html b/app/templates/admin/users_trash.html
index 4eae558c..2257353f 100644
--- a/app/templates/admin/users_trash.html
+++ b/app/templates/admin/users_trash.html
@@ -27,8 +27,6 @@
Rep |
Banned |
Reports |
- IP |
- Source |
Actions |
{% for user in users.items %}
@@ -45,8 +43,6 @@
{% if user.reputation %}R {{ user.reputation | round | int }}{% endif %} |
{{ 'Banned'|safe if user.banned }} |
{{ user.reports if user.reports > 0 }} |
- {{ user.ip_address if user.ip_address }} |
- {{ user.referrer if user.referrer }} |
Edit |
Delete
|
@@ -74,4 +70,4 @@
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/app/templates/user/show_profile.html b/app/templates/user/show_profile.html
index 4d0f33cf..28a7304b 100644
--- a/app/templates/user/show_profile.html
+++ b/app/templates/user/show_profile.html
@@ -108,6 +108,8 @@
{% if user.is_instance_admin() or (user.is_local() and user.is_admin()) %}({{ _('Admin') }}){% endif %}
{% if user.is_admin() or user.is_staff() %}{{ _('Role permissions') }}: {% if user.is_admin() %}{{ _('Admin') }}{% endif %} {% if user.is_staff() %}{{ _('Staff') }}{% endif %}
{% endif %}
{{ _('Joined') }}: {{ arrow.get(user.created).humanize(locale=locale) }}
+ {% if current_user.is_authenticated and current_user.is_admin() %}{{ _('Referer') }}: {{ user.referrer if user.referrer }}
{% endif %}
+ {% if current_user.is_authenticated and current_user.is_admin() %}{{ _('IP and country code') }}: {{ user.ip_address if user.ip_address }}{% if user.ip_address_country %} ({{ user.ip_address_country }}){% endif %}
{% endif %}
{% if current_user.is_authenticated and current_user.is_admin() and user.last_seen %}{{ _('Active') }}: {{ arrow.get(user.last_seen).humanize(locale=locale) }}
{% endif %}
{% if user.bot %}
{{ _('Bot Account') }}