]> git.ipfire.org Git - thirdparty/patchwork.git/commit
views: Redirect when only one TODO exists
authorStephen Finucane <stephen.finucane@intel.com>
Thu, 18 Feb 2016 21:26:55 +0000 (21:26 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 18 Feb 2016 21:26:55 +0000 (21:26 +0000)
commit5a31ec6e577bd36d50a2787832915ab51f062168
tree33ca0749eafbcc317fe86d8fdb77459e20db89f5
parentf981513791358260c7510dd8479b0bfb24de05f5
views: Redirect when only one TODO exists

At the moment, the page listing all TODOs will display like the page
detailing a single TODO. This is misleading. Instead, use the same
approach as the index page, where the user is automatically redirected
to the appropriate project's page when only one project exists.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/views/user.py