0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 23:48:39 +01:00
gitea/templates
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
..
admin Add missing templates (#11729) 2020-06-02 22:04:52 -04:00
base Include query in sign in redirect (#11579) 2020-06-03 23:41:02 -04:00
custom
explore Do not show lock icon on repo list for public repos in private org (#11445) 2020-05-17 19:59:25 +03:00
mail Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
org Add missing templates (#11729) 2020-06-02 22:04:52 -04:00
pwa Move serviceworker to workbox and fix SSE interference (#11538) 2020-05-21 21:45:34 -04:00
repo Fix message wrapping on PR commit list (#11616) 2020-06-03 09:30:34 +01:00
status
swagger Issue/Pull expose IsLocked Property on API (#11708) 2020-06-01 22:01:55 +01:00
user Fix repo-list private and total count bugs (#11500) 2020-05-20 22:15:30 -03:00
home.tmpl
install.tmpl