From 31b38b49c3736c5dcd139fa63ab06ad211aa25a1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 31 Jan 2010 22:55:49 -0600 Subject: Spruce up the developer view pages Quite a few changes here. Unify the developer view pages into one actual django view and template, and use different dispatches from urls.py to set up the three different queries for who to display and what message and group name to show. Signed-off-by: Dan McGee --- templates/public/developer_list.html | 1 - templates/public/developers.html | 16 ---------------- templates/public/fellows.html | 11 ----------- templates/public/index.html | 1 + templates/public/userlist.html | 13 +++++++++++++ 5 files changed, 14 insertions(+), 28 deletions(-) delete mode 100644 templates/public/developers.html delete mode 100644 templates/public/fellows.html create mode 100644 templates/public/userlist.html (limited to 'templates') diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html index 37a5953..9a63a6d 100644 --- a/templates/public/developer_list.html +++ b/templates/public/developer_list.html @@ -1,4 +1,3 @@ -

{% for dev in dev_list %} {{ dev.first_name }}{{ dev.last_name.0|capfirst}}   diff --git a/templates/public/developers.html b/templates/public/developers.html deleted file mode 100644 index f290587..0000000 --- a/templates/public/developers.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -
-

Arch Linux Core Developers

- {% with developers as dev_list %} - {% include 'public/developer_list.html' %} - {% endwith %} -

Arch Linux Trusted Users

- {% with tus as dev_list %} - {% include 'public/developer_list.html' %} - {% endwith %} -
-

-{% endblock %} - diff --git a/templates/public/fellows.html b/templates/public/fellows.html deleted file mode 100644 index 4bbda77..0000000 --- a/templates/public/fellows.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -
-

Arch Linux {{dev_type}}

- {{description}} - {% include 'public/developer_list.html' %} -
-

-{% endblock %} - diff --git a/templates/public/index.html b/templates/public/index.html index 0ccbfb7..9351a72 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -111,6 +111,7 @@

Development: