summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authora1012112796 <1012112796@qq.com>2020-10-20 12:48:04 +0800
committerGitHub <noreply@github.com>2020-10-20 00:48:04 -0400
commit1b07db7922a4c4851ce6577c7511fc7ceb51ad39 (patch)
tree5bcd2c4d5828f7dc401dd7a2c05419b55387920a /templates/repo
parent2f1353a2f33762e10a304cbebf3a6a8d0381d316 (diff)
downloadgitea-1b07db7922a4c4851ce6577c7511fc7ceb51ad39.tar.gz
gitea-1b07db7922a4c4851ce6577c7511fc7ceb51ad39.zip
Show stale label for stale code comment which is marked as resolved (#13213)
Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/issue/view_content/comments.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl
index 86ce6148c1..f1ec8a9da0 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -459,7 +459,7 @@
</button>
{{end}}
<a href="{{(index $comms 0).CodeCommentURL}}" class="file-comment">{{$filename}}</a>
- {{if and $invalid (not $resolved)}}
+ {{if $invalid }}
<span class="tag">
{{$.i18n.Tr "repo.issues.review.outdated"}}
</span>