From 96ae6adbe12ddec6b33cb6f947ae73a7b0b794b1 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Thu, 23 Jan 2020 07:07:24 -0500 Subject: templates/repo/header: Downgrade source files to 1.10.3 My system had Gitea on 1.11.0-rc1 --- templates/base/head_navbar.tmpl | 1 - templates/repo/header.tmpl | 10 ---------- templates/repo/home.tmpl | 11 ----------- 3 files changed, 22 deletions(-) (limited to 'templates') diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 8ed5a94..4f71bb6 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -13,7 +13,6 @@ {{.i18n.Tr "dashboard"}} {{.i18n.Tr "issues"}} {{.i18n.Tr "pull_requests"}} - {{if .ShowMilestonesDashboardPage}}{{.i18n.Tr "milestones"}}{{end}} {{.i18n.Tr "explore"}} {{else if .IsLandingPageHome}} {{.i18n.Tr "home"}} diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 9f3e3ae..111609e 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -12,11 +12,9 @@
/
{{.Name}} {{if and .RelAvatarLink .IsPrivate}}{{end}} - {{if .IsTemplate}}{{end}} {{if .IsArchived}}{{end}} {{if .IsMirror}}
{{$.i18n.Tr "repo.mirror_from"}} {{MirrorAddress $.Mirror}}
{{end}} {{if .IsFork}}
{{$.i18n.Tr "repo.forked_from"}} {{SubStr .BaseRepo.RelLink 1 -1}}
{{end}} - {{if .IsGenerated}}
{{$.i18n.Tr "repo.generated_from"}} {{SubStr .TemplateRepo.RelLink 1 -1}}
{{end}} {{if not .IsBeingCreated}}
@@ -49,14 +47,6 @@
{{end}} - -
-
- {{if .DescriptionHTML}}{{.DescriptionHTML}}{{else if .IsRepositoryAdmin}}{{.i18n.Tr "repo.no_desc"}}{{end}} - {{.Website}} -
-
- {{end}}
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 19989bb..b23e851 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -94,17 +94,6 @@
-
- {{if eq $n 0}} - {{if .Repository.IsTemplate}} - - {{end}} - {{end}} -
-- cgit v1.2.3