From 79cb2b6525fa88b8d0405f39314930d64d4295d5 Mon Sep 17 00:00:00 2001 From: istiak101 <30789544+istiak101@users.noreply.github.com> Date: Mon, 25 Apr 2022 13:06:22 +0600 Subject: [PATCH 1/3] Github style following followers --- templates/user/profile.tmpl | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 6f5efae02e99..f64472d49e7b 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -17,6 +17,9 @@ {{if .Owner.FullName}}{{.Owner.FullName}}{{end}} {{.Owner.Name}} {{svg "octicon-rss" 18}} + {{svg "octicon-person" 18}} + {{.Owner.NumFollowers}} {{.i18n.Tr "user.followers"}} . + {{.Owner.NumFollowing}} {{.i18n.Tr "user.following"}}
{{if eq .TabName "activity"}} From dddec648e4089cfefaacd14a42322615e4f1e071 Mon Sep 17 00:00:00 2001 From: istiak101 <30789544+istiak101@users.noreply.github.com> Date: Mon, 25 Apr 2022 15:36:55 +0600 Subject: [PATCH 2/3] remove trailing whitespace --- templates/user/profile.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index f64472d49e7b..987c822e12fe 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -18,7 +18,7 @@ {{.Owner.Name}} {{svg "octicon-rss" 18}} {{svg "octicon-person" 18}} - {{.Owner.NumFollowers}} {{.i18n.Tr "user.followers"}} . + {{.Owner.NumFollowers}} {{.i18n.Tr "user.followers"}} . {{.Owner.NumFollowing}} {{.i18n.Tr "user.following"}}
From 4a384efd562bc61256b6f247b10f4a3fccb2a32b Mon Sep 17 00:00:00 2001 From: istiak101 <30789544+istiak101@users.noreply.github.com> Date: Sat, 21 May 2022 13:43:45 +0600 Subject: [PATCH 3/3] muted class for links text-decoration: none; for follower, following links Co-authored-by: silverwind --- templates/user/profile.tmpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 987c822e12fe..dd83ff0620ca 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -17,9 +17,7 @@ {{if .Owner.FullName}}{{.Owner.FullName}}{{end}} {{.Owner.Name}} {{svg "octicon-rss" 18}} - {{svg "octicon-person" 18}} - {{.Owner.NumFollowers}} {{.i18n.Tr "user.followers"}} . - {{.Owner.NumFollowing}} {{.i18n.Tr "user.following"}} + {{svg "octicon-person" 18 "mr-2"}}{{.Owner.NumFollowers}} {{.i18n.Tr "user.followers"}} ยท {{.Owner.NumFollowing}} {{.i18n.Tr "user.following"}}