mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 09:53:10 +02:00
Disable Stars config option (#14653)
* Add config option to disable stars * Replace "stars" with watched in user profile * Add documentation
This commit is contained in:
1 parent
af2adb4e35
commit
f44543a1bb
16 files changed
+83
-27
No files matched your search
@@ -130,10 +130,12 @@
|
||||
{{svg "octicon-archive" 16 "ml-2"}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="text light grey df ac">
|
||||
${repo.stars_count}
|
||||
{{svg "octicon-star" 16 "ml-2"}}
|
||||
</div>
|
||||
{{if not .DisableStars}}
|
||||
<div class="text light grey df ac">
|
||||
${repo.stars_count}
|
||||
{{svg "octicon-star" 16 "ml-2"}}
|
||||
</div>
|
||||
{{end}}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in new issue
Block a user