mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 06:02:18 +02:00
Fix repo empty guide (#33114)
This commit is contained in:
1 parent
3c1c508421
commit
40765b5d45
3 files changed
+7
-2
No files matched your search
@@ -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