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/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>
11 months ago
..
blob_excerpt.tmpl Replace 10 more gt- classes with tw- (#29945) 11 months ago
box.tmpl Put an edit file button on pull request files to allow a quick operation (#29697) 11 months ago
comment_form.tmpl Add svg linter and fix incorrect svgs (#30086) 11 months ago
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2 years ago
comments.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
compare.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
conversation.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago
conversation_outdated.tmpl Improve user experience for outdated comments (#29050) 1 year ago
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2 years ago
escape_title.tmpl cleanup locale function usage (#27227) 1 year ago
image_diff.tmpl Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 4 years ago
new_review.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
options_dropdown.tmpl Replace more `gt-` with `tw-`, update frontend docs (#29595) 11 months ago
section_code.tmpl Add template linting via djlint (#25212) 2 years ago
section_split.tmpl Replace 10 more gt- classes with tw- (#29945) 11 months ago
section_unified.tmpl Replace 10 more gt- classes with tw- (#29945) 11 months ago
stats.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
whitespace_dropdown.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago