- +
- {% if corpus.user.avatar %} - - {% else %} - - {% endif %} + |
diff --git a/app/templates/settings/settings.html.j2 b/app/templates/settings/settings.html.j2
index fe60f0d2..282d4185 100644
--- a/app/templates/settings/settings.html.j2
+++ b/app/templates/settings/settings.html.j2
@@ -114,7 +114,7 @@
-
+
{{ wtf.render_field(edit_public_profile_information_form.avatar, accept='image/jpeg, image/png, image/gif', placeholder='Choose an image file', id='avatar-upload') }}
diff --git a/app/templates/users/profile.html.j2 b/app/templates/users/user.html.j2
similarity index 71%
rename from app/templates/users/profile.html.j2
rename to app/templates/users/user.html.j2
index 6e02a42c..cc138794 100644
--- a/app/templates/users/profile.html.j2
+++ b/app/templates/users/user.html.j2
@@ -1,6 +1,7 @@
{% extends "base.html.j2" %}
{% import "materialize/wtf.html.j2" as wtf %}
+
{% block page_content %}
@@ -10,9 +11,8 @@
-
- - + +
@@ -27,16 +27,18 @@
{% else %}
Private Profile
{% endif %}
+ {% if user.has_profile_privacy_setting('SHOW_MEMBER_SINCE') %}
+ Member since: {{ user.member_since.strftime('%Y-%m-%d') }}
+ {% endif %}
+ {% if user.has_profile_privacy_setting('SHOW_LAST_SEEN') %}
+ Last seen: {{ user.last_seen.strftime('%Y-%m-%d') }}
+ {% endif %}
- {% if user.show_last_seen %}
- Last seen: {{ last_seen }}
- {% endif %}
{% if user.location %}
- + {{ user.location }} + location_on{{ user.location }} {% endif %} - -{% if user.about_me %}
| ||
{{ user.email }} | @@ -78,18 +80,17 @@
Member since: {{ member_since }}
- {% endif %} - -
+ Edit profile +
+