Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
171:b1766b1bda45 | 172:0fa78ef80356 |
---|---|
63 </ul> | 63 </ul> |
64 {% else %} | 64 {% else %} |
65 {% if user.is_authenticated %} | 65 {% if user.is_authenticated %} |
66 <ul class="icon-list"> | 66 <ul class="icon-list"> |
67 <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> | 67 <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> |
68 <li><a href="{% url forums-posts_for_user username=subject.username %}"><img src="{{ MEDIA_URL }}icons/comments.png" | |
69 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> | |
68 <li><img src="{{ MEDIA_URL }}icons/flag_red.png" alt="Flag" /> | 70 <li><img src="{{ MEDIA_URL }}icons/flag_red.png" alt="Flag" /> |
69 <a href="#" class="profile-flag" id="fp-{{ profile.id }}">Report this profile</a></li> | 71 <a href="#" class="profile-flag" id="fp-{{ profile.id }}">Report this profile</a></li> |
70 </ul> | 72 </ul> |
71 {% endif %} | 73 {% endif %} |
72 {% endif %} | 74 {% endif %} |