Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
137:c7d75cdfea21 | 138:7ea842744a57 |
---|---|
8 <script type="text/javascript"> | 8 <script type="text/javascript"> |
9 $(document).ready(function() { | 9 $(document).ready(function() { |
10 $('#bio_profile tr:even').addClass('even'); | 10 $('#bio_profile tr:even').addClass('even'); |
11 }); | 11 }); |
12 </script> | 12 </script> |
13 <script type="text/javascript" src="{{ MEDIA_URL }}js/bio.js"></script> | |
13 {% endblock %} | 14 {% endblock %} |
14 {% block content %} | 15 {% block content %} |
15 <div class="user_profile"> | 16 <div class="user_profile"> |
16 <h2>User Profile for {{ subject.username }}</h2> | 17 <h2>User Profile for {{ subject.username }}</h2> |
17 <p>{% avatar subject %}</p> | 18 <p>{% avatar subject %}</p> |
60 <li><a href="{% url django.contrib.auth.views.password_change %}"><img src="{{ MEDIA_URL }}icons/key.png" alt="Change Password" /></a> | 61 <li><a href="{% url django.contrib.auth.views.password_change %}"><img src="{{ MEDIA_URL }}icons/key.png" alt="Change Password" /></a> |
61 <a href="{% url django.contrib.auth.views.password_change %}">Change Password</a></li> | 62 <a href="{% url django.contrib.auth.views.password_change %}">Change Password</a></li> |
62 </ul> | 63 </ul> |
63 {% else %} | 64 {% else %} |
64 {% if user.is_authenticated %} | 65 {% if user.is_authenticated %} |
65 <p> | 66 <ul class="icon-list"> |
66 <a href="{% url messages-compose_to subject.username %}"> | 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 <img src="{{ MEDIA_URL }}icons/note.png" alt="PM" title="Send Private Message" /></a> | 68 <li><img src="{{ MEDIA_URL }}icons/flag_red.png" alt="Flag" /> |
68 <a href="{% url messages-compose_to subject.username %}">Send a private message to {{ subject.username }}</a> | 69 <a href="#" class="profile-flag" id="fp-{{ profile.id }}">Report this profile</a></li> |
69 </p> | 70 </ul> |
70 {% endif %} | 71 {% endif %} |
71 {% endif %} | 72 {% endif %} |
72 {% endblock %} | 73 {% endblock %} |