# HG changeset patch # User Brian Neal # Date 1469837091 18000 # Node ID 36fa9e9e010b51aa9078941bffc1887d0766095b # Parent 837808b5dff36eb16be432a8b456345e96a8e907 Forgot to add banner for convention. diff -r 837808b5dff3 -r 36fa9e9e010b bio/views.py --- a/bio/views.py Fri Jul 29 19:02:46 2016 -0500 +++ b/bio/views.py Fri Jul 29 19:04:51 2016 -0500 @@ -72,6 +72,7 @@ 'hide_email': False, 'this_is_me': True, 'badge_collection': badge_collection, + 'V3_DESIGN': True, }) ####################################################################### @@ -96,6 +97,7 @@ 'hide_email': hide_email, 'this_is_me': False, 'badge_collection': badge_collection, + 'V3_DESIGN': True, }) ####################################################################### diff -r 837808b5dff3 -r 36fa9e9e010b sg101/templates/bio/view_profile.html --- a/sg101/templates/bio/view_profile.html Fri Jul 29 19:02:46 2016 -0500 +++ b/sg101/templates/bio/view_profile.html Fri Jul 29 19:04:51 2016 -0500 @@ -1,4 +1,4 @@ -{% extends 'bio/base.html' %} +{% extends 'v3/base.html' %} {% load static from staticfiles %} {% load bio_tags %} {% load elsewhere_tags %} @@ -6,14 +6,6 @@ {% load forum_tags %} {% load messages_tags %} {% block title %}User Profile for {{ subject.username }}{% endblock %} -{% block custom_js %} - - -{% endblock %} {% block content %}

User Profile for {{ subject.username }}

@@ -25,14 +17,34 @@ {% endif %} {% if this_is_me %} -

{% avatar subject 0 %} -

-

+
+ {% avatar subject 0 %} +
+

My Stuff

+ +

My Profile

{% else %}

{% avatar subject 0 %}

{% endif %} @@ -68,17 +80,23 @@ {% endif %} Elsewhere{% elsewhere_links subject %} Time Zone{{ profile.time_zone }} - Badges - {% if badge_collection %} - - - {% for bo in badge_collection %} - - {% endfor %} -
BadgeQty.NameDescription
{{ bo.badge.html|safe }}{{ bo.count }}{{ bo.badge.name }}{{ bo.badge.description }}
- {% endif %} - +{% if badge_collection %} +

Badges

+ + + + + + {% for bo in badge_collection %} + + + + + {% endfor %} + +
BadgeQty.NameDescription
{{ bo.badge.html|safe }}{{ bo.count }}{{ bo.badge.name }}{{ bo.badge.description }}
+{% endif %}
{% if this_is_me %}