diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 809fd87dc6..1e940c581b 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -26,7 +26,7 @@ {{if not .Repository.IsFork}} <div class="inline field"> <label>{{.locale.Tr "repo.visibility"}}</label> - <div class="ui checkbox{{if and (not .Repository.IsPrivate) (gt .Repository.NumStars 0)}} tooltip{{end}}" data-content="{{.locale.Tr "repo.stars_remove_warning"}}"> + <div class="ui checkbox" {{if and (not .Repository.IsPrivate) (gt .Repository.NumStars 0)}}data-tooltip-content="{{.locale.Tr "repo.stars_remove_warning"}}"{{end}}> {{if .IsAdmin}} <input name="private" type="checkbox" {{if .Repository.IsPrivate}}checked{{end}}> {{else}}