Mercurial > public > sg101
comparison gpp/templates/bio/view_profile.html @ 232:a46788862737
Implement a forum favorites feature for #82
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 01 Aug 2010 21:26:12 +0000 |
parents | b4305e18d3af |
children | e43b1be24ccc |
comparison
equal
deleted
inserted
replaced
231:a2d388ed106e | 232:a46788862737 |
---|---|
20 {% for message in messages %} | 20 {% for message in messages %} |
21 <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li> | 21 <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li> |
22 {% endfor %} | 22 {% endfor %} |
23 </ul> | 23 </ul> |
24 {% endif %} | 24 {% endif %} |
25 {% if this_is_me %} | |
26 <p>{% avatar subject %} | |
27 <ul> | |
28 <li><a href="">My favorite forum topics</a></li> | |
29 <li><a href="">My forum topic subscriptions</a></li> | |
30 </ul> | |
31 </p> | |
32 {% else %} | |
25 <p>{% avatar subject %}</p> | 33 <p>{% avatar subject %}</p> |
34 {% endif %} | |
26 <table id="bio_profile"> | 35 <table id="bio_profile"> |
27 <tr><th>Full Name</th><td>{{ subject.get_full_name }}</td></tr> | 36 <tr><th>Full Name</th><td>{{ subject.get_full_name }}</td></tr> |
28 <tr><th>Date Joined</th><td>{{ subject.date_joined|date:"F d, Y" }}</td></tr> | 37 <tr><th>Date Joined</th><td>{{ subject.date_joined|date:"F d, Y" }}</td></tr> |
29 <tr><th>Last Login</th><td>{% forum_date subject.last_login user %}</td></tr> | 38 <tr><th>Last Login</th><td>{% forum_date subject.last_login user %}</td></tr> |
30 <tr><th>Active Member</th><td>{% bool_icon subject.is_active %}</td></tr> | 39 <tr><th>Active Member</th><td>{% bool_icon subject.is_active %}</td></tr> |