Add a user list

This commit is contained in:
Trever Fischer
2012-03-02 21:19:56 -05:00
parent b246ac8910
commit 2976830bf6
5 changed files with 32 additions and 0 deletions

View File

@@ -59,6 +59,7 @@
<ul>
<li><a href="/">Home</a></li>
<li><a href="{%url forums.views.index%}">Forums</a></li>
<li><a href="{%url profiles.views.list %}">User List</a></li>
<li><a href="{% url petition.views.create %}">Create Petition</a></li>
{% get_flatpages '/' as pages %}
{% for page in pages %}

View File

@@ -0,0 +1,13 @@
{% extends 'base_simple.html' %}
{% load avatar_tags %}
{% block title %}Users{% endblock %}
{% block sectiontitle %}Users{% endblock %}
{% block content %}
<ul id='profile-list'>
{% for user in profiles %}
<li>{% avatar user %}<p>{{user}}</p></li>
{% endfor %}
</ul>
{% endblock %}