|
52 | 52 | data-modal-cherry-pick-type="revert"
|
53 | 53 | data-modal-cherry-pick-header="{{$.locale.Tr "repo.commit.revert-header" (ShortSha .CommitID)}}"
|
54 | 54 | data-modal-cherry-pick-content="{{$.locale.Tr "repo.commit.revert-content"}}"
|
55 |
| - data-modal-cherry-pick-submit="{{.locale.Tr "repo.commit.revert"}}">{{.locale.Tr "repo.commit.revert"}}</a></div> |
| 55 | + data-modal-cherry-pick-submit="{{.locale.Tr "repo.commit.revert"}}">{{.locale.Tr "repo.commit.revert"}}</div> |
56 | 56 | <div class="item cherry-pick-button show-modal"
|
57 | 57 | data-modal="#cherry-pick-modal"
|
58 | 58 | data-modal-cherry-pick-type="cherry-pick"
|
59 | 59 | data-modal-cherry-pick-header="{{$.locale.Tr "repo.commit.cherry-pick-header" (ShortSha .CommitID)}}"
|
60 | 60 | data-modal-cherry-pick-content="{{$.locale.Tr "repo.commit.cherry-pick-content"}}"
|
61 |
| - data-modal-cherry-pick-submit="{{.locale.Tr "repo.commit.cherry-pick"}}">{{.locale.Tr "repo.commit.cherry-pick"}}</a></div> |
| 61 | + data-modal-cherry-pick-submit="{{.locale.Tr "repo.commit.cherry-pick"}}">{{.locale.Tr "repo.commit.cherry-pick"}}</div> |
62 | 62 | <div class="ui basic modal" id="cherry-pick-modal">
|
63 | 63 | <div class="ui icon header">
|
64 | 64 | <span id="cherry-pick-header"></span>
|
65 | 65 | </div>
|
66 | 66 | <div class="content center">
|
67 | 67 | <p id="cherry-pick-content" class="branch-dropdown"></p>
|
68 | 68 | {{template "repo/branch_dropdown" dict "root" .
|
69 |
| - "noTag" "true" "canCreateBranch" "false" |
| 69 | + "noTag" true "disableCreateBranch" true |
70 | 70 | "branchForm" "branch-dropdown-form"
|
71 | 71 | "branchURLPrefix" (printf "%s/_cherrypick/%s/" $.RepoLink .CommitID) "branchURLSuffix" ""
|
72 |
| - "setAction" "true" "submitForm" "true"}} |
| 72 | + "setAction" true "submitForm" true}} |
73 | 73 | <form method="GET" action="{{$.RepoLink}}/_cherrypick/{{.CommitID}}/{{if $.BranchName}}{{PathEscapeSegments $.BranchName}}{{else}}{{PathEscapeSegments $.Repository.DefaultBranch}}{{end}}" id="branch-dropdown-form">
|
74 | 74 | <input type="hidden" name="ref" value="{{if $.BranchName}}{{$.BranchName}}{{else}}{{$.Repository.DefaultBranch}}{{end}}">
|
75 | 75 | <input type="hidden" name="refType" value="branch">
|
|
0 commit comments