diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-09-24 11:02:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 03:02:42 +0000 |
commit | 2c6fa6c1e05437b5515c7be4f516ac4e4a59bf3c (patch) | |
tree | c72e2866a89e9f901121e8ae90315873312f1017 /templates | |
parent | 6eb5950835dd8e0eef2ef6d343af4acfce40a2fc (diff) | |
download | gitea-2c6fa6c1e05437b5515c7be4f516ac4e4a59bf3c.tar.gz gitea-2c6fa6c1e05437b5515c7be4f516ac4e4a59bf3c.zip |
Fix template bug of pull request view (#32072)
Caused by #31924
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/view_content/sidebar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 49c40be5a9..e49e90df56 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -109,7 +109,7 @@ </a> </div> <div class="tw-flex tw-items-center tw-gap-2"> - <span {{if .Review.TooltipContent}}data-tooltip-content="{{ctx.Locale.Tr .Review.TooltipContent}}"{{end}}> + <span {{if .TooltipContent}}data-tooltip-content="{{ctx.Locale.Tr .TooltipContent}}"{{end}}> {{svg (printf "octicon-%s" .Type.Icon) 16 (printf "text %s" (.HTMLTypeColorName))}} </span> </div> |