summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/view_content/comments_authorlink.tmpl
blob: f652a0bec3487c4b0ff7c970540a415f79951cec (plain)
1
2
3
4
5
6
7
8
9
10
11
{{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}}