comparison gpp/templates/bio/members.html @ 312:88b2b9cb8c1f

Fixing #142; cut over to the django.contrib.staticfiles app.
author Brian Neal <bgneal@gmail.com>
date Thu, 27 Jan 2011 02:56:10 +0000
parents daa2916f5b34
children 3c48a555298d
comparison
equal deleted inserted replaced
311:b1c39788e511 312:88b2b9cb8c1f
1 {% extends 'bio/base.html' %} 1 {% extends 'bio/base.html' %}
2 {% load url from future %} 2 {% load url from future %}
3 {% load avatar_tags %} 3 {% load avatar_tags %}
4 {% block title %}Member List{% endblock %} 4 {% block title %}Member List{% endblock %}
5 {% block bio_css %} 5 {% block bio_css %}
6 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" /> 6 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/tab-nav.css" />
7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" /> 7 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/pagination.css" />
8 {% endblock %} 8 {% endblock %}
9 {% block content %} 9 {% block content %}
10 <h2>Member List</h2> 10 <h2>Member List</h2>
11 <p>Surfguitar101.com currently has {{ num_members }} active members. Looking for a 11 <p>Surfguitar101.com currently has {{ num_members }} active members. Looking for a
12 particular user? Try our <a href="{% url 'bio-member_search' %}">member search</a>, or 12 particular user? Try our <a href="{% url 'bio-member_search' %}">member search</a>, or
39 <td>{{ u.get_full_name }}</td> 39 <td>{{ u.get_full_name }}</td>
40 <td>{{ u.user_profile.location }}</td> 40 <td>{{ u.user_profile.location }}</td>
41 <td>{{ u.date_joined|date:"M. d, Y" }}</td> 41 <td>{{ u.date_joined|date:"M. d, Y" }}</td>
42 <td> 42 <td>
43 {% ifnotequal user u %}<a href="{% url 'messages-compose_to' u.username %}"> 43 {% ifnotequal user u %}<a href="{% url 'messages-compose_to' u.username %}">
44 <img src="{{ MEDIA_URL }}icons/note.png" alt="PM" title="Send private message" /></a>{% endifnotequal %} 44 <img src="{{ STATIC_URL }}icons/note.png" alt="PM" title="Send private message" /></a>{% endifnotequal %}
45 {% if not u.user_profile.hide_email %}<a href="mailto:{{ u.email }}"> 45 {% if not u.user_profile.hide_email %}<a href="mailto:{{ u.email }}">
46 <img src="{{ MEDIA_URL }}icons/email.png" alt="Email" title="Send Email" /></a>{% endif %} 46 <img src="{{ STATIC_URL }}icons/email.png" alt="Email" title="Send Email" /></a>{% endif %}
47 </td> 47 </td>
48 </tr> 48 </tr>
49 {% endfor %} 49 {% endfor %}
50 </table> 50 </table>
51 </div> 51 </div>