1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Display description of 'make this repo private' as help text, not as tooltip (#8097)

This commit is contained in:
micw
2019-09-05 11:13:51 +02:00
committed by Antoine GIRARD
parent 5fcef38f7f
commit 63c40796ef
6 changed files with 7 additions and 6 deletions

View File

@ -38,7 +38,7 @@
<input id="repo_name" name="repo_name" value="{{.repo_name}}" autofocus required>
<span class="help">{{.i18n.Tr "repo.repo_name_helper"}}</span>
</div>
<div class="inline field" data-tooltip={{.i18n.Tr "repo.visibility.tooltip"}}>
<div class="inline field">
<label>{{.i18n.Tr "repo.visibility"}}</label>
<div class="ui checkbox">
{{if .IsForcedPrivate}}
@ -49,6 +49,7 @@
<label>{{.i18n.Tr "repo.visibility_helper" | Safe}}</label>
{{end}}
</div>
<span class="help">{{.i18n.Tr "repo.visibility_description"}}</span>
</div>
<div class="inline field {{if .Err_Description}}error{{end}}">
<label for="description">{{.i18n.Tr "repo.repo_desc"}}</label>