From: Sebastian Spaeth Date: Mon, 26 Nov 2012 16:03:24 +0000 (+0100) Subject: Go back to pre-login URL after loging in X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d3c6e2a042bf2b2c4bca9ff2ad22983f97503461;p=mediagoblin.git Go back to pre-login URL after loging in Simply append the current URLĀ (sans querystring) as a ?next= parameter to the login URL. This will always take us back to the original page where we were pre-login. Signed-off-by: Sebastian Spaeth --- diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index e1fa0191..bd3467cb 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -65,7 +65,8 @@ {% trans %}Verify your email!{% endtrans %} {% endif %} {% else %} - + {% trans %}Log in{% endtrans %} {% endif %}