Skip to content

Commit 395a6fa

Browse files
authored
fix "Remove stars when repo goes private #19904" (#25084)
#19904 (comment)
1 parent 1a5f478 commit 395a6fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/settings/options.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
{{if not .Repository.IsFork}}
2727
<div class="inline field">
2828
<label>{{.locale.Tr "repo.visibility"}}</label>
29-
<div class="ui checkbox{{if and (not .Repository.IsPrivate) (gt .Repository.NumStars 0)}} tooltip{{end}}" data-content="{{.locale.Tr "repo.stars_remove_warning"}}">
29+
<div class="ui checkbox" {{if and (not .Repository.IsPrivate) (gt .Repository.NumStars 0)}}data-tooltip-content="{{.locale.Tr "repo.stars_remove_warning"}}"{{end}}>
3030
{{if .IsAdmin}}
3131
<input name="private" type="checkbox" {{if .Repository.IsPrivate}}checked{{end}}>
3232
{{else}}

0 commit comments

Comments
 (0)