forked from gitea/gitea
12 lines
434 B
Handlebars
12 lines
434 B
Handlebars
{{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}}
|