0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-22 12:07:37 +01:00
gitea/templates/repo/editor
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
..
cherry_pick.tmpl Refactor Safe modifier (#29392) 2024-02-25 10:45:56 +00:00
commit_form.tmpl Put an edit file button on pull request files to allow a quick operation (#29697) 2024-03-27 02:34:10 +00:00
delete.tmpl
diff_preview.tmpl
edit.tmpl Put an edit file button on pull request files to allow a quick operation (#29697) 2024-03-27 02:34:10 +00:00
patch.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
upload.tmpl enforce maxlength in frontend (#29389) 2024-02-25 14:31:15 +00:00