1 {% extends "base.html" %}
3 {% block title %}User Profile: {{ user.username }}{% endblock %}
4 {% block heading %}User Profile: {{ user.username }}{% endblock %}
10 {% if user.get_profile.maintainer_projects.count %}
12 {% for project in user.get_profile.maintainer_projects.all %}
13 <a href="{% url patchwork.views.patch.list project_id=project.linkname %}"
14 >{{ project.linkname }}</a>{% if not forloop.last %},{% endif %}{% endfor %}.
17 {% if user.get_profile.contributor_projects.count %}
19 {% for project in user.get_profile.contributor_projects.all %}
20 <a href="{% url patchwork.views.patch.list project_id=project.linkname %}"
21 >{{ project.linkname }}</a>{% if not forloop.last %},{% endif %}{% endfor %}.
28 {% if user.get_profile.n_todo_patches %}
29 <p>Your <a href="{% url patchwork.views.user.todo_lists %}">todo
30 list</a> contains {{ user.get_profile.n_todo_patches }}
31 patch{{ user.get_profile.n_todo_patches|pluralize:"es" }}.</p>
33 <p>Your todo list contains patches that have been delegated to you. You
34 have no items in your todo list at present.</p>
39 <h2>Linked email addresses</h2>
40 <p>The following email addresses are associated with this patchwork account.
41 Adding alternative addresses allows patchwork to group contributions that
42 you have made under different addresses.</p>
43 <p>The "notify?" column allows you to opt-in or -out of automated
44 patchwork notification emails. Setting it to "no" will disable automated
45 notifications for that address.</p>
46 <p>Adding a new email address will send a confirmation email to that
48 <table class="vertical">
54 {% for email in linked_emails %}
56 <td>{{ email.email }}</td>
58 {% ifnotequal user.email email.email %}
59 <form action="{% url patchwork.views.user.unlink person_id=email.id %}"
62 <input type="submit" value="Unlink"/>
67 {% if email.is_optout %}
68 <form method="post" action="{% url patchwork.views.mail.optin %}">
71 <input type="hidden" name="email" value="{{email.email}}"/>
72 <input type="submit" value="Opt-in"/>
75 <form method="post" action="{% url patchwork.views.mail.optout %}">
78 <input type="hidden" name="email" value="{{email.email}}"/>
79 <input type="submit" value="Opt-out"/>
87 <form action="{% url patchwork.views.user.link %}" method="post">
90 <input type="submit" value="Add"/>
98 <div class="rightcol">
104 <p>You have the following bundle{{ bundle|length|pluralize }}:</p>
106 {% for bundle in bundles %}
107 <li><a href="{{ bundle.get_absolute_url }}">{{ bundle.name }}</a></li>
110 <p>Visit the <a href="{%url patchwork.views.bundle.bundles %}">bundles
111 page</a> to manage your bundles.</p>
113 <p>You have no bundles.</p>
128 <input type="submit" value="Apply"/>
136 <h2>Authentication</h2>
137 <a href="{% url django.contrib.auth.views.password_change %}">Change password</a>
142 <p style="clear: both"></p>