diff --git a/modules/templates/helper.go b/modules/templates/helper.go index f8a93228ddc41..27d81ec9d9b94 100644 --- a/modules/templates/helper.go +++ b/modules/templates/helper.go @@ -911,13 +911,13 @@ func TrN(lang string, cnt interface{}, key1, keyN string) string { return keyN } -// MigrationIcon returns a Font Awesome name matching the service an issue/comment was migrated from +// MigrationIcon returns a SVG name matching the service an issue/comment was migrated from func MigrationIcon(hostname string) string { switch hostname { case "github.com": - return "fa-github" + return "octicon-mark-github" default: - return "fa-git-alt" + return "gitea-git" } } diff --git a/public/img/svg/gitea-git.svg b/public/img/svg/gitea-git.svg index ed592a6bb5f78..f0d692251dc9e 100644 --- a/public/img/svg/gitea-git.svg +++ b/public/img/svg/gitea-git.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/templates/repo/diff/comments.tmpl b/templates/repo/diff/comments.tmpl index 86e314dc50756..ce99ccd9e9253 100644 --- a/templates/repo/diff/comments.tmpl +++ b/templates/repo/diff/comments.tmpl @@ -14,7 +14,7 @@