|
|
@ -43,7 +43,6 @@ |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="comment-header-right actions df ac"> |
|
|
|
<div class="comment-header-right actions df ac"> |
|
|
|
{{if not $.Repository.IsArchived}} |
|
|
|
|
|
|
|
{{if (.ShowRole.HasRole "Poster")}} |
|
|
|
{{if (.ShowRole.HasRole "Poster")}} |
|
|
|
<div class="ui basic label"> |
|
|
|
<div class="ui basic label"> |
|
|
|
{{$.i18n.Tr "repo.issues.poster"}} |
|
|
|
{{$.i18n.Tr "repo.issues.poster"}} |
|
|
@ -59,6 +58,7 @@ |
|
|
|
{{$.i18n.Tr "repo.issues.owner"}} |
|
|
|
{{$.i18n.Tr "repo.issues.owner"}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{if not $.Repository.IsArchived}} |
|
|
|
{{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID)}} |
|
|
|
{{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID)}} |
|
|
|
{{template "repo/issue/view_content/context_menu" Dict "ctx" $ "item" . "delete" true "issue" true "diff" false "IsCommentPoster" (and $.IsSigned (eq $.SignedUserID .PosterID))}} |
|
|
|
{{template "repo/issue/view_content/context_menu" Dict "ctx" $ "item" . "delete" true "issue" true "diff" false "IsCommentPoster" (and $.IsSigned (eq $.SignedUserID .PosterID))}} |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
@ -565,8 +565,10 @@ |
|
|
|
{{$.i18n.Tr "repo.issues.owner"}} |
|
|
|
{{$.i18n.Tr "repo.issues.owner"}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
|
|
|
|
{{if not $.Repository.IsArchived}} |
|
|
|
{{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID)}} |
|
|
|
{{template "repo/issue/view_content/add_reaction" Dict "ctx" $ "ActionURL" (Printf "%s/comments/%d/reactions" $.RepoLink .ID)}} |
|
|
|
{{template "repo/issue/view_content/context_menu" Dict "ctx" $ "item" . "delete" true "issue" true "diff" true "IsCommentPoster" (and $.IsSigned (eq $.SignedUserID .PosterID))}} |
|
|
|
{{template "repo/issue/view_content/context_menu" Dict "ctx" $ "item" . "delete" true "issue" true "diff" true "IsCommentPoster" (and $.IsSigned (eq $.SignedUserID .PosterID))}} |
|
|
|
|
|
|
|
{{end}} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="text comment-content"> |
|
|
|
<div class="text comment-content"> |
|
|
|