Skip to content

Commit

Permalink
Add tooltip for the visibility checkbox in /repo/create (#8025)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
2 people authored and techknowlogick committed Sep 2, 2019
1 parent 577b1cb commit 032c90e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ owner = Owner
repo_name = Repository Name
repo_name_helper = Good repository names use short, memorable and unique keywords.
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_forced = Your site administrator forces new repositories to be private.
visibility_fork_helper = (Changing this will affect all forks.)
Expand Down
2 changes: 1 addition & 1 deletion templates/repo/create.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 032c90e

Please sign in to comment.