0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-17 09:54:11 +01:00
gitea/templates/repo/issue/view_content/comments_authorlink.tmpl

12 lines
434 B
Handlebars
Raw Normal View History

{{if .comment.OriginalAuthor}}
<span class="text black">
{{svg (MigrationIcon .ctxData.Repository.GetOriginalURLHostname)}}
{{.comment.OriginalAuthor}}
</span>
{{if .ctxData.Repository.OriginalURL}}
<span class="migrate">({{ctx.Locale.Tr "repo.migrated_from" .ctxData.Repository.OriginalURL .ctxData.Repository.GetOriginalURLHostname}})</span>
{{end}}
{{else}}
{{template "shared/user/authorlink" .comment.Poster}}
{{end}}