0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 15:52:48 +01:00
gitea/templates/repo/issue/view_content/show_role.tmpl
2023-08-24 13:06:17 +08:00

10 lines
425 B
Handlebars

{{if and .ShowRole.IsPoster (not .IgnorePoster)}}
<div class="ui basic label role-label" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.author_helper"}}">
{{ctx.Locale.Tr "repo.issues.author"}}
</div>
{{end}}
{{if .ShowRole.RoleInRepo}}
<div class="ui basic label role-label" data-tooltip-content="{{.ShowRole.RoleInRepo.LocaleHelper ctx.Locale}}">
{{.ShowRole.RoleInRepo.LocaleString ctx.Locale}}
</div>
{{end}}