File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 13
13
body = _ (
14
14
"""
15
15
Your primary email address is not verified.
16
- Please <a href="{account_email_url}">verify it here</a>.,
16
+ Please <a href="{account_email_url}">verify it here</a>.
17
17
"""
18
18
),
19
19
type = WARNING ,
Original file line number Diff line number Diff line change 108
108
We need to use a CustomUser to have access to "user.notifications"
109
109
See https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-AUTH_USER_MODEL
110
110
{% endcomment %}
111
- {% for notification in user_notifications %}
112
- < p class ="build-failure ">
113
- {{ notification.get_message.get_rendered_body|safe }}
114
- </ p >
115
- {% endfor %}
111
+ {% if user_notifications %}
112
+ < ul class ="notifications ">
113
+ {% for notification in user_notifications %}
114
+ < li class ="notification ">
115
+ {{ notification.get_message.get_rendered_body|safe }}
116
+ </ li >
117
+ {% endfor %}
118
+ </ ul >
119
+ {% endif %}
116
120
117
121
<!-- BEGIN notify -->
118
122
{% block notify %}
You can’t perform that action at this time.
0 commit comments