1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/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 Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
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 Make error pages translatable (#11163) 2020-04-27 18:03:15 -05:00
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 Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
install.tmpl Change default charset for MySQL on install to utf8mb4 (#10989) 2020-04-06 09:33:15 -04:00