From 469ca6b72918a74d79d254c32d3d0f04bd9b640e Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Wed, 7 Sep 2011 17:35:34 -0700 Subject: [PATCH] Make it so the login link redirects you back to the page you were looking at. I did this by adding a processing instruction to add a thispage variable to RequestContext. --- htsworkflow/frontend/templates/base.html | 17 +++++++++++++---- htsworkflow/frontend/thispage.py | 2 ++ htsworkflow/frontend/urls.py | 14 +++++++------- htsworkflow/settings.py | 14 +++++++------- 4 files changed, 29 insertions(+), 18 deletions(-) create mode 100644 htsworkflow/frontend/thispage.py diff --git a/htsworkflow/frontend/templates/base.html b/htsworkflow/frontend/templates/base.html index a2e3919..7691c58 100644 --- a/htsworkflow/frontend/templates/base.html +++ b/htsworkflow/frontend/templates/base.html @@ -27,16 +27,25 @@ {% if not is_popup %} - +