diff gpp/templates/bio/view_profile.html @ 172:0fa78ef80356

Implementing #55 - Add function to view a users posts from their profile.
author Brian Neal <bgneal@gmail.com>
date Sun, 28 Feb 2010 22:20:15 +0000
parents 7ea842744a57
children d51743322bb2
line wrap: on
line diff
--- a/gpp/templates/bio/view_profile.html	Fri Feb 12 04:24:47 2010 +0000
+++ b/gpp/templates/bio/view_profile.html	Sun Feb 28 22:20:15 2010 +0000
@@ -65,6 +65,8 @@
 {% if user.is_authenticated %}
 <ul class="icon-list">
    <li><a href="{% url messages-compose_to subject.username %}"><img src="{{ MEDIA_URL }}icons/note.png" alt="PM" title="Send Private Message" /></a> <a href="{% url messages-compose_to subject.username %}">Send a private message to {{ subject.username }}</a></li>
+   <li><a href="{% url forums-posts_for_user username=subject.username %}"><img src="{{ MEDIA_URL }}icons/comments.png"
+      alt="Forum Posts" title="View forum posts by {{ subject.username }}" /></a> <a href="{% url forums-posts_for_user username=subject.username %}">View forum posts by {{ subject.username }}</a></li>
    <li><img src="{{ MEDIA_URL }}icons/flag_red.png" alt="Flag" />
       <a href="#" class="profile-flag" id="fp-{{ profile.id }}">Report this profile</a></li>
 </ul>