{{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}}
{{svg "octicon-x" 16 "close inside"}}
{{$.i18n.Tr "repo.adopt_preexisting"}}
{{$.i18n.Tr "repo.adopt_preexisting_content" $dir}}
{{svg "octicon-x" 16 "close inside"}}
{{$.i18n.Tr "repo.delete_preexisting"}}
{{$.i18n.Tr "repo.delete_preexisting_content" $dir}}
{{.i18n.Tr "admin.repos.unadopted.no_more"}}
{{template "base/paginate" .}}
{{end}}