0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-29 01:07:55 +01:00

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>