mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 04:54:09 +00:00
12 lines
434 B
Go HTML Template
12 lines
434 B
Go HTML Template
|
{{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}}
|