diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-08-23 10:29:12 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-08-23 10:29:12 +0800 |
commit | 8252a61e73126c2b89c97e4195c635bc3d60a3e9 (patch) | |
tree | 572cf8f8c02d6cf6495ed336c015f41345e41c98 /templates | |
parent | f1f11ba9e5511d5c0534929ed435baee994ff68b (diff) | |
download | patchwork-8252a61e73126c2b89c97e4195c635bc3d60a3e9.tar.bz2 patchwork-8252a61e73126c2b89c97e4195c635bc3d60a3e9.tar.xz |
Add simple help infrastructure, with an 'about' page.
We'll need the about page for adding attribution for included
components.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 8 | ||||
-rw-r--r-- | templates/patchwork/help/about.html | 19 | ||||
-rw-r--r-- | templates/patchwork/help/index.html | 2 |
3 files changed, 24 insertions, 5 deletions
diff --git a/templates/base.html b/templates/base.html index df668aa..b9b359f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -24,16 +24,14 @@ <a href="{% url patchwork.views.user.profile %}">profile</a> :: <a href="{% url patchwork.views.user.todo_lists %}">todo ({{ user.get_profile.n_todo_patches }})</a><br/> - <a href="{% url auth_logout %}">logout</a><!-- :: - <a href="/help/">help</a> --> + <a href="{% url auth_logout %}">logout</a> :: + <a href="{% url patchwork.views.help path="about/" %}">about</a> {% else %} <a href="{% url auth_login %}">login</a> <br/> <a href="{% url registration_register %}">register</a> - <!-- <br/> - <a href="/help/">help</a> - --> + <a href="{% url patchwork.views.help path="about/" %}">about</a> {% endif %} </div> <div style="clear: both;"></div> diff --git a/templates/patchwork/help/about.html b/templates/patchwork/help/about.html new file mode 100644 index 0000000..fa5094f --- /dev/null +++ b/templates/patchwork/help/about.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} + +{% block title %}About{% endblock %} +{% block heading %} - About Patchwork{% endblock %} + +{% block body %} + +<p>Patchwork is free software, and is available from the +<a href="http://ozlabs.org/~jk/projects/patchwork/">patchwork website</a>.</p> + +<p>Patchwork is built on the <a href="http://djangoproject.com/">django</a> +web framework.</p> + +<p>Patchwork includes the <a +href="http://code.google.com/p/django-registration/">django-registration</a> +application.</a> + +{% endblock %} + diff --git a/templates/patchwork/help/index.html b/templates/patchwork/help/index.html new file mode 100644 index 0000000..5cb6467 --- /dev/null +++ b/templates/patchwork/help/index.html @@ -0,0 +1,2 @@ +{% extends "base.html" %} + |