mirror of
https://github.com/go-gitea/gitea
synced 2025-07-27 04:38:36 +00:00
* Refactor repo.isBare to repo.isEmpty #5629 Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Sync call
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<form class="ui form" action="{{.Link}}" method="post">
|
||||
{{.CsrfTokenHtml}}
|
||||
<input type="hidden" name="action" value="default_branch">
|
||||
{{if not .Repository.IsBare}}
|
||||
{{if not .Repository.IsEmpty}}
|
||||
<div class="required inline field">
|
||||
<div class="ui dropdown selection" tabindex="0">
|
||||
<select name="branch">
|
||||
|
Reference in New Issue
Block a user