diff --git a/src/accounts/templates/accounts/user_detail.html b/src/accounts/templates/accounts/user_detail.html index 8c196c4..a81a19a 100644 --- a/src/accounts/templates/accounts/user_detail.html +++ b/src/accounts/templates/accounts/user_detail.html @@ -1,6 +1,8 @@ {% extends "base.html" %} + {% load i18n gravatar %} + {% block head_js %} {% include "pizza-chart.html" with chart_data=type_count chart_div="collabs" chart_height=300 %} {% include "pizza-chart.html" with chart_data=list_activity chart_div="collabs2" chart_height=300 %} @@ -36,40 +38,41 @@ {% if user_.mailinglists %} - {% trans 'Subscribes: ' %} + {% trans 'Subscribes: ' %} {% for list in user_.mailinglists %} {{ list }} {% endfor %} {% endif %}
+
@@ -95,29 +98,47 @@
- -
-
-

{% trans "Latest posted" %}

- -
-
-

{% trans "Community inside participations" %}

- +
+
+
+

{% trans "Badges" %}

+
+
+
+ {% for badge in user_.badge_set.all %} + + {% endfor %} +
+
+
+ +
+ +
+ +
+

{% trans "Latest posted" %}

+
    + {% for doc in emails %} + {% include "message-preview.html" with result=doc %} + {% empty %} +
  • {% trans "There are no posts by this user so far." %}
  • + {% endfor %} +
+
+ +
+

{% trans "Community inside participations" %}

+
    + {% for result in results %} + {% include "message-preview.html" %} + {% empty %} +
  • {% trans "No contributions of this user so far." %}
  • + {% endfor %} +
+
-- libgit2 0.21.2