From 83550b4cf78bba9f17b5b16e54bb172932a42529 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Sat, 25 Aug 2018 11:29:30 -0400 Subject: [PATCH] Show badges on user profile page --- .../templates/get_together/users/show_profile.html | 10 ++++++++++ get_together/views/user.py | 2 ++ 2 files changed, 12 insertions(+) diff --git a/get_together/templates/get_together/users/show_profile.html b/get_together/templates/get_together/users/show_profile.html index 73a4bd5..8c86d34 100644 --- a/get_together/templates/get_together/users/show_profile.html +++ b/get_together/templates/get_together/users/show_profile.html @@ -56,6 +56,16 @@ {% endif %}
+ {% if badges %} +

Badges

+
+ {% for badge in badges %} +
+ {{badge.name}} +
+ {% endfor %} +
+ {% endif %} {% if teams %}

Teams