Skip to content

Commit 032c90e

Browse files
typelesslafriks
authored andcommitted
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 <[email protected]>
1 parent 577b1cb commit 032c90e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ owner = Owner
567567
repo_name = Repository Name
568568
repo_name_helper = Good repository names use short, memorable and unique keywords.
569569
visibility = Visibility
570+
visibility.tooltip = Only the owner or the organization members if they have rights, will be able to see it.
570571
visibility_helper = Make Repository Private
571572
visibility_helper_forced = Your site administrator forces new repositories to be private.
572573
visibility_fork_helper = (Changing this will affect all forks.)

templates/repo/create.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<input id="repo_name" name="repo_name" value="{{.repo_name}}" autofocus required>
3939
<span class="help">{{.i18n.Tr "repo.repo_name_helper"}}</span>
4040
</div>
41-
<div class="inline field">
41+
<div class="inline field" data-tooltip={{.i18n.Tr "repo.visibility.tooltip"}}>
4242
<label>{{.i18n.Tr "repo.visibility"}}</label>
4343
<div class="ui checkbox">
4444
{{if .IsForcedPrivate}}

0 commit comments

Comments
 (0)