1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-16 06:13:43 -04:00
gitea/templates/repo/diff
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
..
blob_excerpt.tmpl
box.tmpl Put an edit file button on pull request files to allow a quick operation (#29697) 2024-03-27 02:34:10 +00:00
comment_form_datahandler.tmpl
comment_form.tmpl
comments.tmpl
compare.tmpl
conversation_outdated.tmpl
conversation.tmpl
csv_diff.tmpl
escape_title.tmpl
image_diff.tmpl
new_comment.tmpl
new_review.tmpl
options_dropdown.tmpl
section_code.tmpl
section_split.tmpl
section_unified.tmpl
stats.tmpl
whitespace_dropdown.tmpl