Skip to content

Commit

Permalink
improve the popup branch create window
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Nov 29, 2024
1 parent 79cb889 commit b3086c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion options/locale/locale_en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1642,7 +1642,8 @@ issues.label.filter_sort.reverse_by_size = Largest size
issues.development = Development
issues.maybefixed = May be fixed by %s
issues.create_branch_from_issue_success = Create branch %s from issue successfully
issues.base_branch = Base Branch
issues.create_branch_from_repository = Repository the branch to be created
issues.base_branch = Base Branch in this repository
issues.pr.completed = Completed
issues.pr.conflicted = Merge conflicts
issues.pr.not_exist_issue = Reference issue does not exist.
Expand Down
4 changes: 2 additions & 2 deletions templates/repo/issue/sidebar/development.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@
method="post">
{{.CsrfTokenHtml}}
<div class="field">
<label for="new_branch_name">{{ctx.Locale.Tr "repo.branch.name"}}</label>
<label for="new_branch_name">{{ctx.Locale.Tr "form.NewBranchName"}}</label>
<input name="new_branch_name" type="text">
</div>

<div class="field">
<label for="source_repository">{{ctx.Locale.Tr "repository"}}</label>
<label for="source_repository">{{ctx.Locale.Tr "repo.issues.create_branch_from_repository"}}</label>
<div class="ui fluid dropdown selection">
<select name="repo_id">
{{range .AllowedRepos}}
Expand Down

0 comments on commit b3086c9

Please sign in to comment.