Mercurial > public > sg101
comparison gpp/templates/bio/view_profile.html @ 178:d51743322bb2
#56 - Cut over to Django 1.2 messaging system.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 17 Mar 2010 03:12:05 +0000 |
parents | 0fa78ef80356 |
children | b4305e18d3af |
comparison
equal
deleted
inserted
replaced
177:9b63ad1f2ad2 | 178:d51743322bb2 |
---|---|
13 <script type="text/javascript" src="{{ MEDIA_URL }}js/bio.js"></script> | 13 <script type="text/javascript" src="{{ MEDIA_URL }}js/bio.js"></script> |
14 {% endblock %} | 14 {% endblock %} |
15 {% block content %} | 15 {% block content %} |
16 <div class="user_profile"> | 16 <div class="user_profile"> |
17 <h2>User Profile for {{ subject.username }}</h2> | 17 <h2>User Profile for {{ subject.username }}</h2> |
18 {% if messages %} | |
19 <ul class="user-messages"> | |
20 {% for message in messages %} | |
21 <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li> | |
22 {% endfor %} | |
23 </ul> | |
24 {% endif %} | |
18 <p>{% avatar subject %}</p> | 25 <p>{% avatar subject %}</p> |
19 <table id="bio_profile"> | 26 <table id="bio_profile"> |
20 <tr><th>Full Name</th><td>{{ subject.get_full_name }}</td></tr> | 27 <tr><th>Full Name</th><td>{{ subject.get_full_name }}</td></tr> |
21 <tr><th>Date Joined</th><td>{{ subject.date_joined|date:"F d, Y" }}</td></tr> | 28 <tr><th>Date Joined</th><td>{{ subject.date_joined|date:"F d, Y" }}</td></tr> |
22 <tr><th>Last Login</th><td>{% forum_date subject.last_login user %}</td></tr> | 29 <tr><th>Last Login</th><td>{% forum_date subject.last_login user %}</td></tr> |