{{with .Repository}}
{{template "repo/icon" .}}
{{.Owner.Name}}
/
{{.Name}}
{{if .IsTemplate}} {{if .IsPrivate}} {{ctx.Locale.Tr "repo.desc.private_template"}} {{else}} {{if .Owner.Visibility.IsPrivate}} {{ctx.Locale.Tr "repo.desc.internal_template"}} {{end}} {{end}} {{else}} {{if .IsPrivate}} {{ctx.Locale.Tr "repo.desc.private"}} {{else}} {{if .Owner.Visibility.IsPrivate}} {{ctx.Locale.Tr "repo.desc.internal"}} {{end}} {{end}} {{end}} {{if .IsArchived}} {{ctx.Locale.Tr "repo.desc.archived"}} {{end}}
{{if $.EnableFeed}} {{svg "octicon-rss" 18}} {{end}}
{{if $.PullMirror}}
{{ctx.Locale.Tr "repo.mirror_from"}} {{$.PullMirror.RemoteAddress}}
{{end}} {{if .IsFork}}
{{ctx.Locale.Tr "repo.forked_from"}} {{.BaseRepo.FullName}}
{{end}} {{if .IsGenerated}}
{{ctx.Locale.Tr "repo.generated_from"}} {{(.TemplateRepo ctx).FullName}}
{{end}}
{{if not (or .IsBeingCreated .IsBroken)}}
{{if $.RepoTransfer}}
{{$.CsrfTokenHtml}}
{{$.CsrfTokenHtml}}
{{end}}
{{$.CsrfTokenHtml}}
{{CountFmt .NumWatches}}
{{if not $.DisableStars}}
{{$.CsrfTokenHtml}}
{{CountFmt .NumStars}}
{{end}} {{if and (not .IsEmpty) ($.Permission.CanRead $.UnitTypeCode)}} {{end}}
{{end}}
{{end}}
{{if not (or .Repository.IsBeingCreated .Repository.IsBroken)}} {{else if .Permission.IsAdmin}} {{end}}