mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-06 23:44:20 -04:00
Fix wrong branch name in rename branch modal (#26146)
Before: ![image](https://github.com/go-gitea/gitea/assets/18380374/b4dc68e8-b85b-4097-a432-940e291ac582) After: ![image](https://github.com/go-gitea/gitea/assets/18380374/7e692dd2-6b8b-4ba5-a251-ae4b9b917492)
This commit is contained in:
parent
f2cc4daf60
commit
f9e5d980bc
@ -56,7 +56,7 @@
|
|||||||
<button class="btn interact-bg gt-p-3 show-modal show-rename-branch-modal"
|
<button class="btn interact-bg gt-p-3 show-modal show-rename-branch-modal"
|
||||||
data-is-default-branch="true"
|
data-is-default-branch="true"
|
||||||
data-modal="#rename-branch-modal"
|
data-modal="#rename-branch-modal"
|
||||||
data-old-branch-name="{{$.DefaultBranchBranch}}"
|
data-old-branch-name="{{$.DefaultBranchBranch.DBBranch.Name}}"
|
||||||
data-tooltip-content="{{$.locale.Tr "repo.branch.rename" ($.DefaultBranchBranch.DBBranch.Name)}}"
|
data-tooltip-content="{{$.locale.Tr "repo.branch.rename" ($.DefaultBranchBranch.DBBranch.Name)}}"
|
||||||
>
|
>
|
||||||
{{svg "octicon-pencil"}}
|
{{svg "octicon-pencil"}}
|
||||||
|
Loading…
Reference in New Issue
Block a user