{{template "base/alert" .}}
{{if .search}}
{{.i18n.Tr "admin.repos.unadopted"}}
{{if .Dirs}}
{{end}}
{{range $dirI, $dir := .Dirs}}
{{end}}
{{template "base/paginate" .}}
{{else}}
{{svg "octicon-file-directory"}}
{{$dir}}
{{$.i18n.Tr "repo.adopt_preexisting"}}
{{$.i18n.Tr "repo.adopt_preexisting_content" $dir}}
{{$.i18n.Tr "repo.delete_preexisting"}}
{{$.i18n.Tr "repo.delete_preexisting_content" $dir}}
{{.i18n.Tr "admin.repos.unadopted.no_more"}}
{{template "base/paginate" .}}
{{end}}