You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
10 months ago
..
cherry_pick.tmpl Refactor Safe modifier (#29392) 11 months ago
commit_form.tmpl Put an edit file button on pull request files to allow a quick operation (#29697) 10 months ago
delete.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
diff_preview.tmpl Fix broken code editor diff preview (#23307) 2 years ago
edit.tmpl Put an edit file button on pull request files to allow a quick operation (#29697) 10 months ago
patch.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 10 months ago
upload.tmpl enforce maxlength in frontend (#29389) 11 months ago