aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-01-23 07:07:24 -0500
committerThedro Neely <thedroneely@gmail.com>2020-01-23 07:07:24 -0500
commit96ae6adbe12ddec6b33cb6f947ae73a7b0b794b1 (patch)
tree6926273c347d7ac257fc77b5b99ad11ebbfa5b11 /templates
parent92ed765e33d3a00fafa57e40ae6ad69c0f8c9444 (diff)
downloadgitea-templates-96ae6adbe12ddec6b33cb6f947ae73a7b0b794b1.tar.gz
gitea-templates-96ae6adbe12ddec6b33cb6f947ae73a7b0b794b1.tar.bz2
gitea-templates-96ae6adbe12ddec6b33cb6f947ae73a7b0b794b1.zip
templates/repo/header: Downgrade source files to 1.10.3
My system had Gitea on 1.11.0-rc1
Diffstat (limited to 'templates')
-rw-r--r--templates/base/head_navbar.tmpl1
-rw-r--r--templates/repo/header.tmpl10
-rw-r--r--templates/repo/home.tmpl11
3 files changed, 0 insertions, 22 deletions
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 @@
<a class="item {{if .PageIsDashboard}}active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "dashboard"}}</a>
<a class="item {{if .PageIsIssues}}active{{end}}" href="{{AppSubUrl}}/issues">{{.i18n.Tr "issues"}}</a>
<a class="item {{if .PageIsPulls}}active{{end}}" href="{{AppSubUrl}}/pulls">{{.i18n.Tr "pull_requests"}}</a>
- {{if .ShowMilestonesDashboardPage}}<a class="item {{if .PageIsMilestonesDashboard}}active{{end}}" href="{{AppSubUrl}}/milestones">{{.i18n.Tr "milestones"}}</a>{{end}}
<a class="item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore/repos">{{.i18n.Tr "explore"}}</a>
{{else if .IsLandingPageHome}}
<a class="item {{if .PageIsHome}}active{{end}}" href="{{AppSubUrl}}/">{{.i18n.Tr "home"}}</a>
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 @@
<div class="divider"> / </div>
<a href="{{$.RepoLink}}">{{.Name}}</a>
{{if and .RelAvatarLink .IsPrivate}}<i class="mega-octicon octicon-lock"></i>{{end}}
- {{if .IsTemplate}}<i class="icon fa-copy"></i>{{end}}
{{if .IsArchived}}<i class="archive icon archived-icon"></i>{{end}}
{{if .IsMirror}}<div class="fork-flag">{{$.i18n.Tr "repo.mirror_from"}} <a target="_blank" rel="noopener noreferrer" href="{{MirrorAddress $.Mirror}}">{{MirrorAddress $.Mirror}}</a></div>{{end}}
{{if .IsFork}}<div class="fork-flag">{{$.i18n.Tr "repo.forked_from"}} <a href="{{.BaseRepo.Link}}">{{SubStr .BaseRepo.RelLink 1 -1}}</a></div>{{end}}
- {{if .IsGenerated}}<div class="fork-flag">{{$.i18n.Tr "repo.generated_from"}} <a href="{{.TemplateRepo.Link}}">{{SubStr .TemplateRepo.RelLink 1 -1}}</a></div>{{end}}
</div>
{{if not .IsBeingCreated}}
<div class="repo-buttons">
@@ -49,14 +47,6 @@
</div>
{{end}}
</div><!-- end grid -->
-
-<div class="ui repo-description repo-description-custom">
- <div id="repo-desc">
- {{if .DescriptionHTML}}<span class="description has-emoji">{{.DescriptionHTML}}</span>{{else if .IsRepositoryAdmin}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}}
- <a class="link" href="{{.Website}}">{{.Website}}</a>
- </div>
- </div>
-
</div><!-- end container -->
{{end}}
<div class="ui tabs container">
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
@@ -95,17 +95,6 @@
</div>
<div class="fitted item">
- {{if eq $n 0}}
- {{if .Repository.IsTemplate}}
- <div class="ui tiny blue buttons">
- <a href="{{AppSubUrl}}/repo/create?template_id={{.Repository.ID}}" class="ui button">
- {{.i18n.Tr "repo.use_template"}}
- </a>
- </div>
- {{end}}
- {{end}}
- </div>
- <div class="fitted item">
<!-- Only show clone panel in repository home page -->
{{if eq $n 0}}