summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-09-18 18:22:51 +0200
committerGitHub <noreply@github.com>2021-09-18 17:22:51 +0100
commitd04e581f09befcc309598da4f3dda01c7b965f0e (patch)
tree435d19efe8becd5bc55efe7aca9be219d5c8a349 /modules
parentb74a0f9060d5fda341f5554ef529a2006308c6ab (diff)
downloadgitea-d04e581f09befcc309598da4f3dda01c7b965f0e.tar.gz
gitea-d04e581f09befcc309598da4f3dda01c7b965f0e.zip
Switch migration icon to svg (#15954)
Followup on https://github.com/go-gitea/gitea/pull/15952, use SVG for migration icon. <img width="541" alt="Screen Shot 2021-05-23 at 00 26 12" src="https://user-images.githubusercontent.com/115237/119242417-c1a37600-bb5d-11eb-9f97-a80aa89741ee.png"> <img width="540" alt="Screen Shot 2021-05-23 at 00 25 39" src="https://user-images.githubusercontent.com/115237/119242419-c2d4a300-bb5d-11eb-9792-1e6e4092c9f9.png">
Diffstat (limited to 'modules')
-rw-r--r--modules/templates/helper.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index f8a93228dd..27d81ec9d9 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"
}
}