From 47c709a4dcf137437407b0e6433210ccc0eceacf Mon Sep 17 00:00:00 2001 From: Gerben Date: Tue, 20 Mar 2018 14:02:21 +0100 Subject: [PATCH] Rip out stars --- templates/explore/repo_list.tmpl | 1 - templates/repo/header.tmpl | 8 -------- templates/user/dashboard/dashboard.tmpl | 3 --- templates/user/profile.tmpl | 11 +---------- 4 files changed, 1 insertion(+), 22 deletions(-) diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 041bda8..4000cff 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -12,7 +12,6 @@ {{end}}
- {{.NumStars}} {{.NumForks}}
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index db5b6c7..18e6134 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -22,14 +22,6 @@ {{.NumWatches}} -
- - {{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}} - - - {{.NumStars}} - -
{{if .CanBeForked}}
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index bddcc49..faa84e3 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -75,9 +75,6 @@ ${repo.full_name} - - ${repo.stars_count} -
  • diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 9a9acbd..0d6312b 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -4,27 +4,18 @@
    {{if eq .TabName "activity"}}
    {{template "user/dashboard/feeds" .}}
    - {{else if eq .TabName "stars"}} -
    - {{template "explore/search" .}} - {{template "explore/repo_list" .}} - {{template "base/paginate" .}} -
    {{else}} {{template "explore/search" .}} {{template "explore/repo_list" .}}