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 %}.
26 {% if user.get_profile.n_todo_patches %}
27 <p>Your <a href="{% url patchwork.views.user.todo_lists %}">todo
28 list</a> contains {{ user.get_profile.n_todo_patches }}
29 patch{{ user.get_profile.n_todo_patches|pluralize:"es" }}.</p>
31 <p>Your todo list contains patches that have been delegated to you. You
32 have no items in your todo list at present.</p>
37 <table class="bundlelist">
43 {% for bundle in bundles %}
45 <td><a href="{% url patchwork.views.bundle.bundle bundle_id=bundle.id %}"
46 >{{ bundle.name }}</a></td>
47 <td style="text-align: right">{{ bundle.n_patches }}</td>
49 {% if bundle.public %}
50 <a href="{{ bundle.public_url }}">{{ bundle.public_url }}</a>
61 <h2>Linked email addresses</h2>
62 <p>The following email addresses are associated with this patchwork account.
63 Adding alternative addresses allows patchwork to group contributions that
64 you have made under different addressses.</p>
65 <p>Adding a new email address will send a confirmation email to that
67 <table class="vertical" style="width: 20em;">
73 <td>{{ user.email }}</td>
76 {% for email in linked_emails %}
77 {% ifnotequal email.email user.email %}
79 <td>{{ email.email }}</td>
81 {% ifnotequal user.email email.email %}
82 <form action="{% url patchwork.views.user.unlink person_id=email.id %}"
84 <input type="submit" value="Unlink"/>
92 <form action="{% url patchwork.views.user.link %}" method="post">
94 <input type="submit" value="Add"/>
108 <input type="submit" value="Apply"/>