{{with .Repository}}
{{$avatar := (repoAvatar . 32 "gt-mr-3")}} {{if $avatar}} {{$avatar}} {{else}} {{template "repo/icon" .}} {{end}} {{.Owner.Name}}
/
{{.Name}} {{if $.EnableFeed}} {{svg "octicon-rss" 18}} {{end}}
{{if .IsTemplate}} {{if .IsPrivate}} {{$.locale.Tr "repo.desc.private_template"}} {{else}} {{if .Owner.Visibility.IsPrivate}} {{$.locale.Tr "repo.desc.internal_template"}} {{end}} {{end}} {{else}} {{if .IsPrivate}} {{$.locale.Tr "repo.desc.private"}} {{else}} {{if .Owner.Visibility.IsPrivate}} {{$.locale.Tr "repo.desc.internal"}} {{end}} {{end}} {{end}} {{if .IsArchived}} {{$.locale.Tr "repo.desc.archived"}} {{end}}
{{if and $.IsPullMirror $.Mirror}} {{$address := MirrorRemoteAddress $.Context . $.Mirror.GetRemoteName false}}
{{$.locale.Tr "repo.mirror_from"}} {{$address.Address}}
{{end}} {{if .IsFork}}
{{$.locale.Tr "repo.forked_from"}} {{.BaseRepo.FullName}}
{{end}} {{if .IsGenerated}}
{{$.locale.Tr "repo.generated_from"}} {{.TemplateRepo.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)}}
{{svg "octicon-repo-forked"}}{{$.locale.Tr "repo.fork"}} {{CountFmt .NumForks}}
{{end}}
{{end}}
{{end}}
{{if not (or .Repository.IsBeingCreated .Repository.IsBroken)}} {{else if .Permission.IsAdmin}} {{end}}