mirror of
https://github.com/go-gitea/gitea
synced 2025-07-31 06:38:37 +00:00
15
templates/repo/issue/view_content/show_role.tmpl
Normal file
15
templates/repo/issue/view_content/show_role.tmpl
Normal file
@@ -0,0 +1,15 @@
|
||||
{{if and (.ShowRole.HasRole "Poster") (not .IgnorePoster)}}
|
||||
<div class="ui basic label role-label">
|
||||
{{ctx.Locale.Tr "repo.issues.poster"}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if (.ShowRole.HasRole "Writer")}}
|
||||
<div class="ui basic label role-label">
|
||||
{{ctx.Locale.Tr "repo.issues.collaborator"}}
|
||||
</div>
|
||||
{{end}}
|
||||
{{if (.ShowRole.HasRole "Owner")}}
|
||||
<div class="ui basic label role-label">
|
||||
{{ctx.Locale.Tr "repo.issues.owner"}}
|
||||
</div>
|
||||
{{end}}
|
Reference in New Issue
Block a user