From 79cb88901bdf149a8340f4d3315d4a30d5451313 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 28 Nov 2024 16:21:03 -0800 Subject: [PATCH] display pull request on float window --- templates/repo/issue/sidebar/development.tmpl | 2 +- templates/repo/issue/view_title.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/sidebar/development.tmpl b/templates/repo/issue/sidebar/development.tmpl index a1b1b96517..69fc6af4c7 100644 --- a/templates/repo/issue/sidebar/development.tmpl +++ b/templates/repo/issue/sidebar/development.tmpl @@ -12,7 +12,7 @@ {{if .PullRequest}}
{{template "shared/issueicon" .PullRequest.Issue}} - + {{.PullRequest.Issue.Title}}
diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index 4975796c55..e070ee27f4 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -134,7 +134,7 @@ {{ctx.Locale.TrN .Issue.NumComments "repo.issues.num_comments_1" "repo.issues.num_comments" .Issue.NumComments}} {{if .MaybeFixed}} - {{$fixedStr := HTMLFormat `#%d` .MaybeFixed.Issue.Link .MaybeFixed.Index}} + {{$fixedStr := HTMLFormat `#%d` .MaybeFixed.Issue.Link .MaybeFixed.Index}} ยท {{ctx.Locale.Tr "repo.issues.maybefixed" $fixedStr}} {{end}} {{end}}