gitea/modules/context
Giteabot 5b7df68555
Ensure RSS icon is present on all repo tabs (#23904) (#23973)
Backport #23904 by @silverwind

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: silverwind <me@silverwind.io>
2023-04-07 14:55:30 +02:00
..
access_log.go
api.go
api_org.go
api_test.go
auth.go
captcha.go
context.go Improve template error reporting (#23396) (#23600) 2023-03-20 17:53:45 -04:00
csrf.go
form.go
org.go Add missing tabs to org projects page (#22705) (#23412) 2023-03-10 10:08:28 -06:00
package.go
pagination.go Make branches list page operations remember current page (#23420) (#23460) 2023-03-14 20:51:14 +08:00
permission.go
private.go
repo.go Ensure RSS icon is present on all repo tabs (#23904) (#23973) 2023-04-07 14:55:30 +02:00
response.go
utils.go
xsrf.go
xsrf_test.go