mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 09:07:19 +00:00
Fix repo empty guide (#33114)
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
|
||||
{{if .Repository.IsBroken}}
|
||||
<div class="ui segment center">{{ctx.Locale.Tr "repo.broken_message"}}</div>
|
||||
{{else if .Repository.IsEmpty}}
|
||||
{{else if .RepoHasContentsWithoutBranch}}
|
||||
<div class="ui segment center">{{ctx.Locale.Tr "repo.no_branch"}}</div>
|
||||
{{else if .CanWriteCode}}
|
||||
<h4 class="ui top attached header">{{ctx.Locale.Tr "repo.quick_guide"}}</h4>
|
||||
|
Reference in New Issue
Block a user