summaryrefslogtreecommitdiffstats
path: root/templates/projects/project_list.html
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-10-17 01:34:04 +0200
committerGravatar Tom Willemsen2011-10-17 01:34:04 +0200
commit4b29603d79cc1f79c66786684f27ec9abfbaa825 (patch)
tree655c321b7ee3b0cc919ab3b7bf937b50fc13c69c /templates/projects/project_list.html
downloaddotfiles-4b29603d79cc1f79c66786684f27ec9abfbaa825.tar.gz
dotfiles-4b29603d79cc1f79c66786684f27ec9abfbaa825.zip
Initial commit
Diffstat (limited to 'templates/projects/project_list.html')
-rw-r--r--templates/projects/project_list.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/projects/project_list.html b/templates/projects/project_list.html
new file mode 100644
index 0000000..1ab750c
--- /dev/null
+++ b/templates/projects/project_list.html
@@ -0,0 +1,20 @@
+<!-- -*- Mode: django-html-mumamo -*- -->
+
+{% extends "projects/base.html" %}
+
+{% block subtitle %}
+ projects
+{% endblock %}
+
+{% block content %}
+ {% if object_list %}
+ <dl>
+ {% for project in object_list %}
+ <dt><a href="/projects/{{ project.slug }}/">{{ project.name }}</a></dt>
+ <dd>{{ project.tagline }}</dd>
+ {% endfor %}
+ </dl>
+ {% else %}
+ Well, you know me, I'm lazy. Got nothing going on.
+ {% endif %}
+{% endblock %}