From 78f2574be9c2ed3249c228d1f2160b7188ef57ef Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Wed, 2 Mar 2022 23:05:12 -0500 Subject: templates: Reset and sync to version 1.16.2 --- templates/repo/header.tmpl | 167 --------------------------------------------- templates/repo/home.tmpl | 142 -------------------------------------- 2 files changed, 309 deletions(-) delete mode 100644 templates/repo/header.tmpl delete mode 100644 templates/repo/home.tmpl (limited to 'templates/repo') diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl deleted file mode 100644 index 442f962..0000000 --- a/templates/repo/header.tmpl +++ /dev/null @@ -1,167 +0,0 @@ -
-{{with .Repository}} -
-
- - {{if not .IsBeingCreated}} -
-
- {{$.CsrfTokenHtml}} -
- - - {{.NumWatches}} - -
-
-
- {{$.CsrfTokenHtml}} -
- - - {{.NumStars}} - -
-
- {{if and (not .IsEmpty) ($.Permission.CanRead $.UnitTypeCode)}} - - {{end}} -
- {{end}} -
- -
-
- {{if .DescriptionHTML}}{{.DescriptionHTML}}{{else if $.IsRepositoryAdmin}}{{$.i18n.Tr "repo.no_desc"}}{{end}} - {{.Website}} -
-
- -
- {{range $.Topics}}{{.Name}}{{end}} - {{if and $.Permission.IsAdmin (not .IsArchived)}}{{$.i18n.Tr "repo.topic.manage_topics"}}{{end}} -
- - {{if and $.Permission.IsAdmin (not .IsArchived)}} - - {{end}} - -
-{{end}} -
- {{if not .Repository.IsBeingCreated}} - - {{end}} -
-
-
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl deleted file mode 100644 index e3a2c31..0000000 --- a/templates/repo/home.tmpl +++ /dev/null @@ -1,142 +0,0 @@ -{{template "base/head" .}} -
- {{template "repo/header" .}} -
- {{template "base/alert" .}} -
-
- {{if .Repository.DescriptionHTML}}{{.Repository.DescriptionHTML}}{{else if .IsRepositoryAdmin}}{{.i18n.Tr "repo.no_desc"}}{{end}} - {{.Repository.Website}} -
- {{if .RepoSearchEnabled}} - - {{end}} -
-
- {{range .Topics}}{{.Name}}{{end}} - {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}{{.i18n.Tr "repo.topic.manage_topics"}}{{end}} -
- {{if and .Permission.IsAdmin (not .Repository.IsArchived)}} - - {{end}} -
- {{.i18n.Tr "repo.topic.count_prompt"}} - {{.i18n.Tr "repo.topic.format_prompt"}} -
- {{if .Repository.IsArchived}} -
- {{.i18n.Tr "repo.archive.title"}} -
- {{end}} - {{template "repo/sub_menu" .}} - - {{if .IsViewFile}} - {{template "repo/view_file" .}} - {{else if .IsBlame}} - {{template "repo/blame" .}} - {{else}} - {{template "repo/view_list" .}} - {{end}} -
-
-{{template "base/footer" .}} -- cgit v1.2.3