mirror of
https://github.com/go-gitea/gitea
synced 2025-08-02 07:38:35 +00:00
Fix package error handling and npm meta and empty repo guide (#33112)
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