X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fpatchwork%2Fprofile.html;h=116d6d63bfdf575bb6f903b8832b1293327cea10;hb=a48f76a2d3a98c21d4b37f19cf84073e77db55c8;hp=35f3d4ff3e3c04f90fe9c3e9d5038a3190ab4c04;hpb=c561ebe710d6e6a43aa4afc6c2036a215378ce87;p=patchwork diff --git a/templates/patchwork/profile.html b/templates/patchwork/profile.html index 35f3d4f..116d6d6 100644 --- a/templates/patchwork/profile.html +++ b/templates/patchwork/profile.html @@ -1,4 +1,4 @@ -{% extends "patchwork/base.html" %} +{% extends "base.html" %} {% block title %}User Profile: {{ user.username }}{% endblock %} {% block heading %}User Profile: {{ user.username }}{% endblock %} @@ -7,99 +7,119 @@ {% block body %}
-{% if user.get_profile.maintainer_projects.count %} +{% if user.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 %} +{% if user.profile.contributor_projects.count %} Contributor to -{% for project in user.get_profile.contributor_projects.all %} -{{ project.linkname }}{% if not forloop.last %},{% endif %}{% endfor %}. {% endif %}
-Your todo -list contains {{ user.get_profile.n_todo_patches }} -patch{{ user.get_profile.n_todo_patches|pluralize:"es" }}.
+Your todo + list contains {{ user.profile.n_todo_patches }} + patch{{ user.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.
+Your todo list contains patches that have been delegated to you. You + have no items in your todo list at present.
{% endif %} -Bundle name | -Patches - | Public Link | -
---|---|---|
{{ bundle.name }} | -{{ bundle.n_patches }} | -- {% if bundle.public %} - {{ bundle.public_url }} - {% endif %} - | -
no bundles
-{% endif %} - +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.
+you have made under different addresses. +The "notify?" column allows you to opt-in or -out of automated +patchwork notification emails. Setting it to "no" will disable automated +notifications for that address.
Adding a new email address will send a confirmation email to that address.
-- | |||
---|---|---|---|
{{ user.email }} | -+ | action | +notify? |
{{ email.email }} | - {% ifnotequal user.email email.email %} - {% endifnotequal %} + | ++ {% if email.is_optout %} + + {% else %} + + {% endif %} + | |
- |
You have the following bundle{{ bundle|length|pluralize }}:
+Visit the bundles + page to manage your bundles.
+{% else %} +You have no bundles.
+{% endif %} +