From c561ebe710d6e6a43aa4afc6c2036a215378ce87 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 21 Aug 2008 09:38:06 +0800 Subject: Inital commit Signed-off-by: Jeremy Kerr --- templates/patchwork/profile.html | 114 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 templates/patchwork/profile.html (limited to 'templates/patchwork/profile.html') diff --git a/templates/patchwork/profile.html b/templates/patchwork/profile.html new file mode 100644 index 0000000..35f3d4f --- /dev/null +++ b/templates/patchwork/profile.html @@ -0,0 +1,114 @@ +{% extends "patchwork/base.html" %} + +{% block title %}User Profile: {{ user.username }}{% endblock %} +{% block heading %}User Profile: {{ user.username }}{% endblock %} + + +{% block body %} + +

+{% if user.get_profile.maintainer_projects.count %} +Maintainer of +{% for project in user.get_profile.maintainer_projects.all %} +{{ project.linkname }}{% if not forloop.last %},{% endif %}{% endfor %}. +{% endif %} + +{% if user.get_profile.contributor_projects.count %} +Contributor to +{% for project in user.get_profile.contributor_projects.all %} +{{ project.linkname }}{% if not forloop.last %},{% endif %}{% endfor %}. +{% endif %} +

+ +

Todo

+{% if user.get_profile.n_todo_patches %} +

Your todo +list contains {{ user.get_profile.n_todo_patches }} +patch{{ user.get_profile.n_todo_patches|pluralize:"es" }}.

+{% else %} +

Your todo list contains patches that have been delegated to you. You +have no items in your todo list at present.

+{% endif %} +

Bundles

+ +{% if bundles %} + + + + + +{% for bundle in bundles %} + + + + + +{% endfor %} +
Bundle namePatches + Public Link
{{ bundle.name }}{{ bundle.n_patches }} + {% if bundle.public %} + {{ bundle.public_url }} + {% endif %} +
+{% else %} +

no bundles

+{% endif %} + + +

Linked email addresses

+

The following email addresses are associated with this patchwork account. +Adding alternative addresses allows patchwork to group contributions that +you have made under different addressses.

+

Adding a new email address will send a confirmation email to that +address.

+ + + + + + + + +{% for email in linked_emails %} + {% ifnotequal email.email user.email %} + + + + {% endifnotequal %} +{% endfor %} + + + +
email +
{{ user.email }}
{{ email.email }} + {% ifnotequal user.email email.email %} +
+ +
+ {% endifnotequal %} +
+
+ {{ linkform.email }} + +
+
+ +

Settings

+ +
+ +{{ profileform }} + + + +
+ + +
+
+ +{% endblock %} -- cgit v1.2.3