summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-06-04 18:28:27 -0700
committereliott <eliott@cactuswax.net>2008-06-04 18:28:27 -0700
commitb6d6cc6062c6dbfcfac719f3ad9f5a74dfd89c5b (patch)
treef6ab159b9b01e5d9a25f71e98632f4ad5dd550e7
parentbb81372adcec6232ebf644514622c85cacde02e9 (diff)
Added an ex-developer 'fellows' page.
-rw-r--r--devel/views.py4
-rw-r--r--templates/devel/fellows.html69
-rw-r--r--templates/devel/siteindex.html1
-rw-r--r--urls.py1
4 files changed, 75 insertions, 0 deletions
diff --git a/devel/views.py b/devel/views.py
index 18888f0a..d825e31d 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -103,6 +103,10 @@ def developers(request):
devs = User.objects.filter(is_active=True).order_by('username')
return render_response(request, 'devel/developers.html', {'devs':devs})
+def fellows(request):
+ fellows = User.objects.filter(is_active=False).order_by('username')
+ return render_response(request, 'devel/fellows.html', {'fellows':fellows})
+
def donate(request):
donor_count = Donor.objects.count()
splitval = donor_count / 4
diff --git a/templates/devel/fellows.html b/templates/devel/fellows.html
new file mode 100644
index 00000000..08eebd35
--- /dev/null
+++ b/templates/devel/fellows.html
@@ -0,0 +1,69 @@
+{% extends "base.html" %}
+
+{% block content %}
+<div class="box">
+ <h2 class="title">Arch Linux Fellows</h2>
+ Below you can find a list of ex-developers (aka Project Fellows). These folks helped make Arch
+ what it is today. Thanks!
+ <br /><br />
+ <div id="devlist">
+ {% for dev in devs %}
+ <a href="#{{ dev.first_name}}{{ dev.last_name.0|upper }}">{{ dev.first_name }}{{ dev.last_name.0|upper }}</a> &nbsp;
+ {% endfor %}
+ </div><br /><br />
+
+ <table class="center" cellpadding="20">
+ {% for dev in devs %}
+ <tr>
+ <td class="devpic">
+ <img src="{{ dev.get_profile.get_picture_url }}" height="175" width="175" style="border:1px solid black">
+ </td><td>
+ <a name="{{ dev.first_name }}{{ dev.last_name.0|upper }}" />
+ <table class="deventry" cellspacing="5">
+ <tr>
+ <th>Name:</th>
+ <td>{{ dev.get_full_name }}</td>
+ </tr><tr>
+ <th>Alias:</th>
+ <td>{{ dev.get_profile.alias }}</td>
+ </tr><tr>
+ <th>Email:</th>
+ <td>{{ dev.get_profile.public_email }}</td>
+ </tr><tr>
+ <th>Other Contact:</th>
+ <td>{{ dev.get_profile.other_contact }}</td>
+ </tr><tr>
+ <th>Roles:</th>
+ <td>{{ dev.get_profile.roles }}<br />
+ </td>
+ </tr><tr>
+ <th>Website:</th>
+ <td>{{ dev.get_profile.website }}</td>
+ </tr><tr>
+ <th>Occupation:</th>
+ <td>{{ dev.get_profile.occupation }}</td>
+ </tr><tr>
+ <th>YOB:</th>
+ <td>{% if dev.get_profile.yob %}{{ dev.get_profile.yob }}{% else %}&nbsp;{% endif %}</td>
+ </tr><tr>
+ <th>Location:</th>
+ <td>{{ dev.get_profile.location }}</td>
+ </tr><tr>
+ <th>Languages:</th>
+ <td>{{ dev.get_profile.languages }}</td>
+ </tr><tr>
+ <th>Interests:</th>
+ <td>{{ dev.get_profile.interests }}</td>
+ </tr><tr>
+ <th>Favorite Distros:</th>
+ <td>{{ dev.get_profile.favorite_distros }}</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+</div>
+<br /><br />
+{% endblock %}
+
diff --git a/templates/devel/siteindex.html b/templates/devel/siteindex.html
index e7cbbe05..37bdba42 100644
--- a/templates/devel/siteindex.html
+++ b/templates/devel/siteindex.html
@@ -106,6 +106,7 @@
<ul class="links">
<li><a href="/devel/">Dev Dashboard</a></li>
<li><a href="/developers/">Developer List</a></li>
+ <li><a href="/fellows/">Fellows List</a></li>
</ul>
<h3>Main Site Links:</h3>
<ul class="links">
diff --git a/urls.py b/urls.py
index dbd59b48..99526efc 100644
--- a/urls.py
+++ b/urls.py
@@ -43,6 +43,7 @@ urlpatterns = patterns('',
(r'^art/$', 'archweb_dev.devel.views.art'),
(r'^cvs/$', 'archweb_dev.devel.views.cvs'),
(r'^developers/$', 'archweb_dev.devel.views.developers'),
+ (r'^fellows/$', 'archweb_dev.devel.views.fellows'),
(r'^donate/$', 'archweb_dev.devel.views.donate'),
(r'^download/$', 'archweb_dev.devel.views.download'),
(r'^irc/$', 'archweb_dev.devel.views.irc'),