diff gpp/templates/bio/view_profile.html @ 232:a46788862737

Implement a forum favorites feature for #82
author Brian Neal <bgneal@gmail.com>
date Sun, 01 Aug 2010 21:26:12 +0000
parents b4305e18d3af
children e43b1be24ccc
line wrap: on
line diff
--- a/gpp/templates/bio/view_profile.html	Wed Jul 14 02:35:39 2010 +0000
+++ b/gpp/templates/bio/view_profile.html	Sun Aug 01 21:26:12 2010 +0000
@@ -22,7 +22,16 @@
     {% endfor %}
    </ul>
    {% endif %}
+   {% if this_is_me %}
+   <p>{% avatar subject %}
+   <ul>
+      <li><a href="">My favorite forum topics</a></li>
+      <li><a href="">My forum topic subscriptions</a></li>
+   </ul>
+   </p>
+   {% else %}
    <p>{% avatar subject %}</p>
+   {% endif %}
 <table id="bio_profile">
    <tr><th>Full Name</th><td>{{ subject.get_full_name }}</td></tr>
    <tr><th>Date Joined</th><td>{{ subject.date_joined|date:"F d, Y" }}</td></tr>