1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 01:14:27 +00:00

improve the popup branch create window

This commit is contained in:
Lunny Xiao 2024-11-28 16:39:50 -08:00
parent 79cb88901b
commit b3086c9e00
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
2 changed files with 4 additions and 3 deletions

View File

@ -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.

View File

@ -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}}