Commit 80574e16f1b4df73f00dbefb1dd2db87d4320485
1 parent
bc7e5bb5
Exists in
master
and in
39 other branches
Fixing up translations and alert message
Showing
2 changed files
with
4 additions
and
7 deletions
Show diff stats
src/accounts/templates/accounts/account_message.html
src/accounts/views.py
| ... | ... | @@ -85,9 +85,8 @@ def signup(request): |
| 85 | 85 | email_addr.save() |
| 86 | 86 | |
| 87 | 87 | template_data = { |
| 88 | - 'msg': _((u'Registration completed successfully. Please visit your ' | |
| 89 | - u'email address to validate it.')), | |
| 90 | - 'msg_css_class': 'success', | |
| 88 | + 'msg': _(u'Registration completed successfully. Please visit your email address to validate it.'), | |
| 89 | + 'msg_css_class': 'alert-success', | |
| 91 | 90 | } |
| 92 | 91 | |
| 93 | 92 | return render(request, 'accounts/account_message.html', template_data) |
| ... | ... | @@ -106,7 +105,7 @@ def verify_email(request, hash): |
| 106 | 105 | |
| 107 | 106 | template_data = { |
| 108 | 107 | 'msg': _(u'E-mail validated correctly.'), |
| 109 | - 'msg_css_class': 'success', | |
| 108 | + 'msg_css_class': 'alert-success', | |
| 110 | 109 | } |
| 111 | 110 | |
| 112 | 111 | return render(request, 'accounts/account_message.html', template_data) | ... | ... |