forked from gitea/gitea
check if original author is set (#14971)
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
parent
ff1bccf3dd
commit
3c7582061f
|
@ -44,7 +44,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="comment-header-right actions df ac">
|
<div class="comment-header-right actions df ac">
|
||||||
{{if not $.Repository.IsArchived}}
|
{{if not $.Repository.IsArchived}}
|
||||||
{{if or (and (eq .PosterID .Issue.PosterID) (eq .Issue.OriginalAuthorID 0)) (eq .Issue.OriginalAuthorID .OriginalAuthorID) }}
|
{{if or (and (eq .PosterID .Issue.PosterID) (eq .Issue.OriginalAuthorID 0)) (and (eq .Issue.OriginalAuthorID .OriginalAuthorID) (not (eq .OriginalAuthorID 0))) }}
|
||||||
<div class="ui basic label">
|
<div class="ui basic label">
|
||||||
{{$.i18n.Tr "repo.issues.poster"}}
|
{{$.i18n.Tr "repo.issues.poster"}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue