Commit f647cefb authored by stef's avatar stef
Browse files

[fix] ajax lazy xl8 bug

parent a5c6ebf8
......@@ -94,14 +94,14 @@ def confirm(request, id, name=None):
c=Confirmation(key=actid, email=name, violation=Violation.objects.get(pk=id))
return HttpResponse(_("Thank you, this has been already confirmed"))
return HttpResponse(unicode(_("Thank you, this has been already confirmed")))
return HttpResponse(_('<div class="confirm_thanks">Thank you for your confirmation</div>'))
return HttpResponse('<div class="confirm_thanks">%s</div>' % unicode(_('Thank you for your confirmation')) )
if c:
messages.add_message(request, messages.INFO, _('Thank you for verifying your confirmation'))
messages.add_message(request, messages.INFO, unicode(_('Thank you for verifying your confirmation')))
return HttpResponseRedirect('/') # Redirect after POST
def sendverifymail(service,to):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment