0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-31 22:25:34 +01:00
gitea/routers/web
Lunny Xiao 538790ad1d
Put an edit file button on pull request files to allow a quick operation (#29697)
Resolve #23848

This PR put an edit file button on pull request files to allow a quick
edit for a file. After the edit finished, it will return back to the
viewed file position on pull request files tab.

It also use a branch view file link instead of commit link when it's a
non-commit pull request files view.

<img width="1532" alt="image"
src="https://github.com/go-gitea/gitea/assets/81045/3637ca4c-89d5-4621-847b-79702a44f617">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2024-03-27 02:34:10 +00:00
..
admin Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 2024-03-22 13:53:52 +01:00
auth Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
devtest
events
explore Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
feed
healthcheck
misc
org Remove AddParamIfExist(AddParam) (#29841) 2024-03-16 12:07:56 +00:00
repo Put an edit file button on pull request files to allow a quick operation (#29697) 2024-03-27 02:34:10 +00:00
shared Fix missing code in the user profile (#29865) 2024-03-17 21:28:11 +01:00
user Refactor StringsToInt64s (#29967) 2024-03-21 15:07:35 +00:00
base.go
githttp.go
goget.go
home.go
metrics.go
nodeinfo.go
passkey.go
swagger_json.go
web.go Refactor URL detection (#29960) 2024-03-21 12:02:34 +00:00
webfinger.go