aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-03-17 13:43:58 +0900
committerGitHub <noreply@github.com>2023-03-17 00:43:58 -0400
commit06c067bb0f9eeb8873ddc298819b30fc5913943f (patch)
tree7a19265b2df4759bfddc1ebed4c57ca31b78a433
parent7692240daa79502218fd3abfcf30c40f5f2db156 (diff)
downloadgitea-06c067bb0f9eeb8873ddc298819b30fc5913943f.tar.gz
gitea-06c067bb0f9eeb8873ddc298819b30fc5913943f.zip
Remove stars in dashboard repo list (#23530)
Discussion is here: https://github.com/go-gitea/gitea/pull/22816
-rw-r--r--web_src/js/components/DashboardRepoList.vue6
1 files changed, 1 insertions, 5 deletions
diff --git a/web_src/js/components/DashboardRepoList.vue b/web_src/js/components/DashboardRepoList.vue
index cc76ab627f..075af65af3 100644
--- a/web_src/js/components/DashboardRepoList.vue
+++ b/web_src/js/components/DashboardRepoList.vue
@@ -72,17 +72,13 @@
<ul class="repo-owner-name-list">
<li v-for="repo in repos" :class="{'private': repo.private || repo.internal}" :key="repo.id">
<a class="repo-list-link gt-df gt-ac gt-sb" :href="repo.link">
- <div class="item-name gt-df gt-ac gt-f1 gt-mr-2">
+ <div class="item-name gt-df gt-ac gt-f1">
<svg-icon :name="repoIcon(repo)" :size="16" class-name="gt-mr-2"/>
<div class="text gt-bold truncate gt-ml-1">{{ repo.full_name }}</div>
<span v-if="repo.archived">
<svg-icon name="octicon-archive" :size="16" class-name="gt-ml-2"/>
</span>
</div>
- <div class="text light grey gt-df gt-ac" v-if="isStarsEnabled">
- {{ repo.stars_count }}
- <svg-icon name="octicon-star" :size="16" class-name="gt-ml-2"/>
- </div>
</a>
</li>
</ul>