|
|
|
@ -9,15 +9,9 @@
|
|
|
|
|
<div class="ui top attached header"> |
|
|
|
|
<span class="text grey"><a {{if gt .Poster.ID 0}}href="{{.Poster.HomeLink}}"{{end}}>{{.Poster.Name}}</a> {{$.root.i18n.Tr "repo.issues.commented_at" .HashTag $createdStr | Safe}}</span> |
|
|
|
|
<div class="ui right actions"> |
|
|
|
|
{{if gt .ShowTag 0}} |
|
|
|
|
<div class="item tag"> |
|
|
|
|
{{if eq .ShowTag 1}} |
|
|
|
|
{{$.root.i18n.Tr "repo.issues.poster"}} |
|
|
|
|
{{else if eq .ShowTag 2}} |
|
|
|
|
{{$.root.i18n.Tr "repo.issues.collaborator"}} |
|
|
|
|
{{else if eq .ShowTag 3}} |
|
|
|
|
{{$.root.i18n.Tr "repo.issues.owner"}} |
|
|
|
|
{{end}} |
|
|
|
|
{{if eq .Review.Type 0}} |
|
|
|
|
<div class="item warning tag"> |
|
|
|
|
{{$.root.i18n.Tr "repo.issues.review.pending"}} |
|
|
|
|
</div> |
|
|
|
|
{{end}} |
|
|
|
|
{{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.root.RepoLink .ID) }} |
|
|
|
|