]> source.dussan.org Git - gitea.git/commitdiff
Show stale label for stale code comment which is marked as resolved (#13213)
authora1012112796 <1012112796@qq.com>
Tue, 20 Oct 2020 04:48:04 +0000 (12:48 +0800)
committerGitHub <noreply@github.com>
Tue, 20 Oct 2020 04:48:04 +0000 (00:48 -0400)
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
templates/repo/issue/view_content/comments.tmpl

index 86ce6148c1da95fb4722f343183033b7997bf7b0..f1ec8a9da0e7f8eeaaaafa757903eead99c30404 100644 (file)
                                                                        </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>