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>
This commit is contained in:
a1012112796 2020-10-20 12:48:04 +08:00 committed by GitHub
parent 2f1353a2f3
commit 1b07db7922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>