X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=blobdiff_plain;f=templates%2Fpatchwork%2Fprofile.html;h=130b94732500b657f6003ac3e15b26e502c0bf97;hp=35f3d4ff3e3c04f90fe9c3e9d5038a3190ab4c04;hb=41f19b6643b44768dc06561c992c04ed6148477d;hpb=c561ebe710d6e6a43aa4afc6c2036a215378ce87 diff --git a/templates/patchwork/profile.html b/templates/patchwork/profile.html index 35f3d4f..130b947 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 %} @@ -22,84 +22,105 @@ Contributor to {% endif %}

-

Todo

+
+
+

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" }}.

+

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.

+

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.

+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.

- +
- - - - + + {% for email in linked_emails %} - {% ifnotequal email.email user.email %} + - {% endifnotequal %} {% endfor %} -
email -
{{ user.email }}actionnotify?
{{ email.email }} - {% ifnotequal user.email email.email %} + {% ifnotequal user.email email.email %}
+ {% csrf_token %}
{% endifnotequal %} +
+ {% if email.is_optout %} +
+ No, + {% csrf_token %} + + +
+ {% else %} +
+ Yes, + {% csrf_token %} + + +
+ {% endif %} +
+
+ {% csrf_token %} {{ linkform.email }}
+
+
+ +
+
+

Bundles

+ +{% if bundles %} +

You have the following bundle{{ bundle|length|pluralize }}:

+ +

Visit the bundles + page to manage your bundles.

+{% else %} +

You have no bundles.

+{% endif %} +
+ + +

Settings

+ {% csrf_token %} {{ profileform }} @@ -110,5 +131,15 @@ address.

+
+ +
+

Authentication

+Change password +
+ +
+ +

{% endblock %}