diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 6857cbef7..7c44aa147 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -1,102 +1,114 @@ {{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "base/alert" .}} {{if and .Permission.IsAdmin (not .Repository.IsArchived)}} - - {{end}} -
- {{.i18n.Tr "repo.topic.count_prompt"}} - {{.i18n.Tr "repo.topic.format_prompt"}} -
+ {{end}} +
+ {{.i18n.Tr "repo.topic.count_prompt"}} + {{.i18n.Tr "repo.topic.format_prompt"}} +
{{if .RepoSearchEnabled}} - {{if .Repository.IsArchived}} -
- {{.i18n.Tr "repo.archive.title"}} -
+
+ {{.i18n.Tr "repo.archive.title"}} +
{{end}} {{template "repo/sub_menu" .}}