summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-08-14 04:16:40 +0200
committerGitHub <noreply@github.com>2023-08-14 02:16:40 +0000
commit56b6b2b88ef175cc18d2ccdb86c220e885a24262 (patch)
tree346acee8a05cbd36217eb42e3b8eac34f0307348 /templates/repo/diff
parent7456573541c0c01314690e4a40bc4b5ec6faf79e (diff)
downloadgitea-56b6b2b88ef175cc18d2ccdb86c220e885a24262.tar.gz
gitea-56b6b2b88ef175cc18d2ccdb86c220e885a24262.zip
Fix tooltip of commit select button (#26472)
Previously, the tooltip for this button was only shown after opening and closing it once because it was only set after the server response, now it shows before opening it.
Diffstat (limited to 'templates/repo/diff')
-rw-r--r--templates/repo/diff/box.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl
index 324166b03c..7b936cb817 100644
--- a/templates/repo/diff/box.tmpl
+++ b/templates/repo/diff/box.tmpl
@@ -32,7 +32,7 @@
{{template "repo/diff/whitespace_dropdown" .}}
{{template "repo/diff/options_dropdown" .}}
{{if .PageIsPullFiles}}
- <div id="diff-commit-select" data-issuelink="{{$.Issue.Link}}" data-queryparams="?style={{if $.IsSplitStyle}}split{{else}}unified{{end}}&whitespace={{$.WhitespaceBehavior}}&show-outdated={{$.ShowOutdatedComments}}">
+ <div id="diff-commit-select" data-issuelink="{{$.Issue.Link}}" data-queryparams="?style={{if $.IsSplitStyle}}split{{else}}unified{{end}}&whitespace={{$.WhitespaceBehavior}}&show-outdated={{$.ShowOutdatedComments}}" data-filter_changes_by_commit="{{.locale.Tr "repo.pulls.filter_changes_by_commit"}}">
{{/*
the following will be replaced by vue component
but this avoids any loading artifacts till the vue component is initialized