mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 12:14:27 +02:00
Allow adding new files to an empty repo (#24164)

This commit is contained in:
1 parent
01214c8ada
commit
e422342eeb
31 files changed
+314
-138
No files matched your search
@@ -39,6 +39,7 @@
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
{{if not .Repository.IsEmpty}}
|
||||
<div class="field">
|
||||
{{$pullRequestEnabled := .Repository.UnitEnabled $.Context $.UnitTypePullRequests}}
|
||||
{{$prUnit := .Repository.MustGetUnit $.Context $.UnitTypePullRequests}}
|
||||
@@ -65,6 +66,7 @@
|
||||
<span class="text-muted js-quick-pull-normalization-info"></span>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
<button id="commit-button" type="submit" class="ui green button">
|
||||
|
||||
Reference in new issue
Block a user