diff options
author | Tim-Niclas Oelschläger <72873130+zokkis@users.noreply.github.com> | 2024-03-08 06:36:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 05:36:27 +0000 |
commit | c8f4897f7f5de5b391be806f4738de1f0d9c4c09 (patch) | |
tree | 055242bf2ea52ed73493e7ab24f53ac219cb9928 | |
parent | 7cf7a499be80931ae34588201e9605085898e9b8 (diff) | |
download | gitea-c8f4897f7f5de5b391be806f4738de1f0d9c4c09.tar.gz gitea-c8f4897f7f5de5b391be806f4738de1f0d9c4c09.zip |
Filter for default-branch selection (#29388)
Filter for default-branch selection (fixes #4751)
before:
![image](https://github.com/go-gitea/gitea/assets/72873130/dcae266d-2e04-41bf-8739-64a85c9007f6)
after:
![image](https://github.com/go-gitea/gitea/assets/72873130/5f27c0a7-1d30-4ccd-b4bb-6c34fff1b79f)
---------
Co-authored-by: silverwind <me@silverwind.io>
-rw-r--r-- | templates/repo/settings/branches.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl index 78421ec009..73aff887f3 100644 --- a/templates/repo/settings/branches.tmpl +++ b/templates/repo/settings/branches.tmpl @@ -16,7 +16,7 @@ {{.CsrfTokenHtml}} <input type="hidden" name="action" value="default_branch"> {{if not .Repository.IsEmpty}} - <div class="ui dropdown selection gt-f1 gt-mr-3 tw-max-w-96"> + <div class="ui dropdown selection search gt-f1 gt-mr-3 tw-max-w-96"> {{svg "octicon-triangle-down" 14 "dropdown icon"}} <input type="hidden" name="branch" value="{{.Repository.DefaultBranch}}"> <div class="default text">{{.Repository.DefaultBranch}}</div> |