{{template "base/alert" .}}
{{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
{{end}}
{{if .Repository.IsArchived}}
{{end}}
{{template "repo/sub_menu" .}}
{{if .IsViewFile}}
{{template "repo/view_file" .}}
{{else if .IsBlame}}
{{template "repo/blame" .}}
{{else}}{{/* IsViewDirectory */}}
{{template "repo/view_list" .}}
{{end}}
{{range .Topics}}
{{/* keep the same layout as Fomantic UI generated labels */}}
{{.Name}}{{svg "octicon-x" 16 "delete icon"}}
{{end}}