gitea/templates/base
mrsdizzie 2842f6cf42
Include query in sign in redirect (#11579)
* Include query in sign in redirect

Include query string in ctx.Data["SignInLink"] so people are redirected to the right page after singing in. Fixes case of:

Visit:

 https://try.gitea.io/mrsdizzie/testcase/issues?q=&type=all&sort=&state=open&labels=7071&milestone=0&assignee=0

Sign in, then redirected to:

 https://try.gitea.io/mrsdizzie/testcase/issues

Create a new "SignInLink" instead of updating the existing "Link" because too many places in the code assume "Link" won't have a query

* Apply suggestions from code review

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-06-03 23:41:02 -04:00
..
alert.tmpl
delete_modal_actions.tmpl
footer.tmpl Move tributejs to npm/webpack (#11497) 2020-05-20 22:00:43 -04:00
footer_content.tmpl Add translatable Powered by Gitea text in footer (#9600) 2020-01-04 20:27:19 +00:00
head.tmpl Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
head_navbar.tmpl Include query in sign in redirect (#11579) 2020-06-03 23:41:02 -04:00
paginate.tmpl Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00