0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-22 15:32:16 +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.go
api_org.go
api_test.go
auth.go
captcha.go
context.go Append (comment) when a link points at a comment rather than the whole issue (#23734) 2023-04-03 16:02:57 +08:00
csrf.go
form.go
org.go
package.go Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
pagination.go Make branches list page operations remember current page (#23420) 2023-03-14 13:11:38 +08:00
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.go
xsrf_test.go