diff --git a/src/postorius/templates/postorius/lists/summary.html b/src/postorius/templates/postorius/lists/summary.html
index ca0bb37..d00b1cb 100644
--- a/src/postorius/templates/postorius/lists/summary.html
+++ b/src/postorius/templates/postorius/lists/summary.html
@@ -17,6 +17,11 @@
{% if user.is_authenticated %}
{% if userSubscribed %}
+ {% trans "You are subscribed to this list with your address:" %}
+ {% for address in subscribed_address %}
+ {{ address }}
+ {% endfor %}
+
{% trans "Unsubscribe" %}
{% else %}
{% trans 'Subscribe to this list' %}
diff --git a/src/postorius/views/list.py b/src/postorius/views/list.py
index a24b7af..c31f5b9 100644
--- a/src/postorius/views/list.py
+++ b/src/postorius/views/list.py
@@ -183,17 +183,21 @@
# The user does not have a mailman user associated with it.
user_emails = [request.user.email]
userSubscribed = False
- try:
- userMember = self.mailing_list.get_member(user_emails[0])
- except ValueError:
- pass
- else:
- userSubscribed = True
+ subscribed_address = []
+ for address in user_emails:
+ try:
+ userMember = self.mailing_list.get_member(address)
+ except ValueError:
+ pass
+ else:
+ userSubscribed = True
+ subscribed_address.append(address)
return render_to_response(
'postorius/lists/summary.html',
{'list': self.mailing_list,
'subscribe_form': ListSubscribe(user_emails),
- 'userSubscribed': userSubscribed},
+ 'userSubscribed': userSubscribed,
+ 'subscribed_address': subscribed_address},
context_instance=RequestContext(request))