}
.revision .summary span {
}
.revision .summary span {
- /**background-color: yellow;/**/
+ /**background-color: yellow;**/
display: inline;
padding-left: 3px;
padding-right: 3px;
display: inline;
padding-left: 3px;
padding-right: 3px;
}
div.wmd-button-bar {
float:left;
}
div.wmd-button-bar {
float:left;
-}
\ No newline at end of file
--- /dev/null
+{% extends "base_content.html" %}
+<!-- complete.html -->
+{% load i18n %}
+{% block head %}{% endblock %}
+{% block title %}{% spaceless %}{% trans "This e-mail has already been validated" %}{% endspaceless %}{% endblock %}
+{% block content %}
+
+<div class="error">
+
+<h1>{% blocktrans %}Already validated{% endblocktrans %}</h1>
+
+<p>{% blocktrans %}This e-mail has already been validated{% endblocktrans %}</p>
+
+</div>
+
+{% endblock %}
+<!-- end complete.html -->
user.save()
return login_and_forward(request, user, reverse('index'), _("Thank you, your email is now validated."))
else:
user.save()
return login_and_forward(request, user, reverse('index'), _("Thank you, your email is now validated."))
else:
+ return render_to_response('auth/mail_already_validated.html', { 'user' : user }, RequestContext(request))
def auth_settings(request, id):
user_ = get_object_or_404(User, id=id)
def auth_settings(request, id):
user_ = get_object_or_404(User, id=id)
@decorate.withfn(login_required)
def signout(request):
logout(request)
@decorate.withfn(login_required)
def signout(request):
logout(request)
- return HttpResponseRedirect(reverse('index'))
\ No newline at end of file
+ return HttpResponseRedirect(reverse('index'))