diff options
author | Thedro Neely <thedroneely@gmail.com> | 2020-01-23 07:07:24 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2020-01-23 07:07:24 -0500 |
commit | 96ae6adbe12ddec6b33cb6f947ae73a7b0b794b1 (patch) | |
tree | 6926273c347d7ac257fc77b5b99ad11ebbfa5b11 /templates/repo | |
parent | 92ed765e33d3a00fafa57e40ae6ad69c0f8c9444 (diff) | |
download | gitea-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/repo')
-rw-r--r-- | templates/repo/header.tmpl | 10 | ||||
-rw-r--r-- | templates/repo/home.tmpl | 11 |
2 files changed, 0 insertions, 21 deletions
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}} |