diff --git a/src/postorius/forms.py b/src/postorius/forms.py index 2a1af6e..d3e5d5b 100644 --- a/src/postorius/forms.py +++ b/src/postorius/forms.py @@ -818,7 +818,8 @@ class AddressActivationForm(forms.Form): - email = forms.EmailField() + email = forms.EmailField(widget=forms.TextInput( + attrs={'placeholder': 'Enter alternate email'})) def clean_email(self): email = self.cleaned_data.get('email') diff --git a/src/postorius/templates/postorius/user/profile.html b/src/postorius/templates/postorius/user/profile.html index 45f9c7a..7e6124c 100644 --- a/src/postorius/templates/postorius/user/profile.html +++ b/src/postorius/templates/postorius/user/profile.html @@ -14,39 +14,65 @@
{% trans 'Mailman display name' %} | -{{ mm_user.display_name }} | +{% trans 'Mailman display name' %} | ++ + |
---|---|---|---|
{% trans 'Username' %} | +{% trans 'Username' %} | {{ user.username }} | |
{% trans 'Main email' %} | +{% trans 'Main email' %} | {{ user.email}} | |
{% trans 'Other emails' %} | +
+ {% for email in user.other_emails %}
+ • {{ email }} + {% endfor %} + |
+ ||
{% trans 'Other emails' %} | -
|
+ + |
+ + {% blocktrans %} + You can add other addresses to your profile, + to use different addresses for your subscriptions. + {% endblocktrans %} + + + |
- {% blocktrans %} - You can add other addresses to your profile, - to use different addresses for your subscriptions. - {% endblocktrans %} -
- {% endblock main %}