diff gpp/templates/bio/view_profile.html @ 178:d51743322bb2

#56 - Cut over to Django 1.2 messaging system.
author Brian Neal <bgneal@gmail.com>
date Wed, 17 Mar 2010 03:12:05 +0000
parents 0fa78ef80356
children b4305e18d3af
line wrap: on
line diff
--- a/gpp/templates/bio/view_profile.html	Mon Mar 15 03:26:38 2010 +0000
+++ b/gpp/templates/bio/view_profile.html	Wed Mar 17 03:12:05 2010 +0000
@@ -15,6 +15,13 @@
 {% block content %}
 <div class="user_profile">
    <h2>User Profile for {{ subject.username }}</h2>
+   {% if messages %}
+   <ul class="user-messages">
+    {% for message in messages %}
+       <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
+    {% endfor %}
+   </ul>
+   {% endif %}
    <p>{% avatar subject %}</p>
 <table id="bio_profile">
    <tr><th>Full Name</th><td>{{ subject.get_full_name }}</td></tr>