Add tooltip for the visibility checkbox in /repo/create (#8025)

* Add tooltip for the visibility checkbox in /repo/create

* Change the tooltip wording

* Update options/locale/locale_en-US.ini

Co-Authored-By: Lauris BH <lauris@nix.lv>
This commit is contained in:
Mura Li
2019-09-03 06:29:04 +08:00
committed by techknowlogick
parent 577b1cb29b
commit 032c90e7c5
2 changed files with 2 additions and 1 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">
<div class="inline field" data-tooltip={{.i18n.Tr "repo.visibility.tooltip"}}>
<label>{{.i18n.Tr "repo.visibility"}}</label>
<div class="ui checkbox">
{{if .IsForcedPrivate}}