diff options
author | 6543 <6543@obermui.de> | 2023-06-05 17:23:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-05 15:23:09 +0000 |
commit | 395a6fabf356c258570a7d0cba0b6693984edac2 (patch) | |
tree | 0131aa1e7e2568b4779d9128705d2a506647c212 | |
parent | 1a5f478ae12b2fe7cc190ed76b517301f8c8f5d8 (diff) | |
download | gitea-395a6fabf356c258570a7d0cba0b6693984edac2.tar.gz gitea-395a6fabf356c258570a7d0cba0b6693984edac2.zip |
fix "Remove stars when repo goes private #19904" (#25084)
https://github.com/go-gitea/gitea/pull/19904#discussion_r1218111682
-rw-r--r-- | templates/repo/settings/options.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
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}} |