From 3c4c71fc19865bfb75231c425fae31c6b2c211de Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 9 Feb 2010 16:48:38 -0500 Subject: started working towards skinning forum app - first step - move templates to app --- forum/templates/users.html | 73 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 forum/templates/users.html (limited to 'forum/templates/users.html') diff --git a/forum/templates/users.html b/forum/templates/users.html new file mode 100644 index 00000000..3a59b0c0 --- /dev/null +++ b/forum/templates/users.html @@ -0,0 +1,73 @@ +{% extends "base_content.html" %} + +{% load extra_tags %} +{% load humanize %} +{% load i18n %} +{% block title %}{% spaceless %}{% trans "Users" %}{% endspaceless %}{% endblock %} +{% block forejs %} + +{% endblock %} +{% block content %} +
+
{% trans "Users" %}
+ +
+
+

+ {% if suser %} + {% blocktrans %}users matching query {{suser}}:{% endblocktrans %} + {% endif %} + + {% if not users.object_list %} + {% trans "Nothing found." %} + {% endif %} +

+
+ + + + + +
+ {% for user in users.object_list %} + +
+ +
+ + {% if forloop.counter|divisibleby:"7" %} +
+ {% endif %} + + {% endfor %} +
+
+
+{% endblock %} +{% block tail %} +
+ {% cnprog_paginator context %} +
+{% endblock %} + -- cgit v1.2.3-1-g7c22