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:
parent
577b1cb29b
commit
032c90e7c5
|
@ -567,6 +567,7 @@ owner = Owner
|
||||||
repo_name = Repository Name
|
repo_name = Repository Name
|
||||||
repo_name_helper = Good repository names use short, memorable and unique keywords.
|
repo_name_helper = Good repository names use short, memorable and unique keywords.
|
||||||
visibility = Visibility
|
visibility = Visibility
|
||||||
|
visibility.tooltip = Only the owner or the organization members if they have rights, will be able to see it.
|
||||||
visibility_helper = Make Repository Private
|
visibility_helper = Make Repository Private
|
||||||
visibility_helper_forced = Your site administrator forces new repositories to be private.
|
visibility_helper_forced = Your site administrator forces new repositories to be private.
|
||||||
visibility_fork_helper = (Changing this will affect all forks.)
|
visibility_fork_helper = (Changing this will affect all forks.)
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<input id="repo_name" name="repo_name" value="{{.repo_name}}" autofocus required>
|
<input id="repo_name" name="repo_name" value="{{.repo_name}}" autofocus required>
|
||||||
<span class="help">{{.i18n.Tr "repo.repo_name_helper"}}</span>
|
<span class="help">{{.i18n.Tr "repo.repo_name_helper"}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="inline field">
|
<div class="inline field" data-tooltip={{.i18n.Tr "repo.visibility.tooltip"}}>
|
||||||
<label>{{.i18n.Tr "repo.visibility"}}</label>
|
<label>{{.i18n.Tr "repo.visibility"}}</label>
|
||||||
<div class="ui checkbox">
|
<div class="ui checkbox">
|
||||||
{{if .IsForcedPrivate}}
|
{{if .IsForcedPrivate}}
|
||||||
|
|
Loading…
Reference in a new issue