summaryrefslogtreecommitdiff
path: root/patchwork/templates/patchwork/profile.html
diff options
context:
space:
mode:
Diffstat (limited to 'patchwork/templates/patchwork/profile.html')
-rw-r--r--patchwork/templates/patchwork/profile.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/patchwork/templates/patchwork/profile.html b/patchwork/templates/patchwork/profile.html
index 4ca78da..4a4b558 100644
--- a/patchwork/templates/patchwork/profile.html
+++ b/patchwork/templates/patchwork/profile.html
@@ -55,13 +55,13 @@ address.</p>
<tr>
<td>{{ email.email }}</td>
<td>
- {% ifnotequal user.email email.email %}
+ {% if user.email != email.email %}
<form action="{% url 'user-unlink' person_id=email.id %}"
method="post">
{% csrf_token %}
<input type="submit" value="Unlink"/>
</form>
- {% endifnotequal %}
+ {% endif %}
</td>
<td>
{% if email.is_optout %}