1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add pending tag to pending review comments

Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
Jonas Franz
2018-05-11 14:02:40 +02:00
parent 61cc13499a
commit 36d6631957
3 changed files with 5 additions and 10 deletions

View File

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