0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 17:08:22 +01:00
gitea/modules/context
silverwind ca5722a0fa
Ensure RSS icon is present on all repo tabs (#23904)
Previously, not all repo tabs had shown the RSS icon in the repo header
because the context data was not being set. Added this context data in a
new function.

Before:

<img width="806" alt="image"
src="https://user-images.githubusercontent.com/115237/229639615-9cc00e75-3a26-4ff4-a6f2-316c1fccc596.png">

After:

<img width="815" alt="Screenshot 2023-04-04 at 00 16 17"
src="https://user-images.githubusercontent.com/115237/229639201-2e1c015b-1f13-46d4-aa14-e7a82fab3982.png">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-04-07 16:48:23 +08:00
..
access_log.go
api_org.go
api_test.go
api.go
auth.go
captcha.go
context.go
csrf.go
form.go
org.go
package.go Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
pagination.go
permission.go
private.go
repo.go Ensure RSS icon is present on all repo tabs (#23904) 2023-04-07 16:48:23 +08:00
response.go
utils.go
xsrf_test.go
xsrf.go