diff gpp/templates/bio/view_profile.html @ 138:7ea842744a57

Ticket #15, add a way to report user profiles.
author Brian Neal <bgneal@gmail.com>
date Fri, 27 Nov 2009 21:55:32 +0000
parents 903ae6168071
children 0fa78ef80356
line wrap: on
line diff
--- a/gpp/templates/bio/view_profile.html	Fri Nov 27 04:11:12 2009 +0000
+++ b/gpp/templates/bio/view_profile.html	Fri Nov 27 21:55:32 2009 +0000
@@ -10,6 +10,7 @@
       $('#bio_profile tr:even').addClass('even');
    });
 </script>
+<script type="text/javascript" src="{{ MEDIA_URL }}js/bio.js"></script>
 {% endblock %}
 {% block content %}
 <div class="user_profile">
@@ -62,11 +63,11 @@
 </ul>
 {% else %}
 {% if user.is_authenticated %}
-<p>
-<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>
-</p>
+<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><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>
 {% endif %}
 {% endif %}
 {% endblock %}