diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 422: [Milosz Wasilewski] redirect to the home page on logout

Message ID 20130821202123.1755.70794.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Antonio Terceiro Aug. 21, 2013, 8:21 p.m. UTC
Merge authors:
  Milosz Wasilewski (mwasilew)
Related merge proposals:
  https://code.launchpad.net/~mwasilew/lava-server/logout_redirect/+merge/180832
  proposed by: Milosz Wasilewski (mwasilew)
------------------------------------------------------------
revno: 422 [merge]
committer: Antonio Terceiro <antonio.terceiro@linaro.org>
branch nick: trunk
timestamp: Wed 2013-08-21 17:20:06 -0300
message:
  [Milosz Wasilewski] redirect to the home page on logout
modified:
  lava_server/templates/layouts/content.html


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_server/templates/layouts/content.html'
--- lava_server/templates/layouts/content.html	2013-08-07 12:06:55 +0000
+++ lava_server/templates/layouts/content.html	2013-08-19 10:45:42 +0000
@@ -92,7 +92,7 @@ 
         {% if user.is_staff %}
         <li><a href="{% url admin:index %}">Administration</a></li>
         {% endif %}
-        <li><a href="{% url django.contrib.auth.views.logout %}">Sign out</a></li>
+        <li><a href="{% url django.contrib.auth.views.logout %}?next={{ MOUNT_POINT }}/">Sign out</a></li>
       </ul>
       {% endif %}
     </div>