diff options
Diffstat (limited to 'web/templates/maintainer/maintainerheader.tmpl')
-rw-r--r-- | web/templates/maintainer/maintainerheader.tmpl | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/web/templates/maintainer/maintainerheader.tmpl b/web/templates/maintainer/maintainerheader.tmpl deleted file mode 100644 index 03411fe..0000000 --- a/web/templates/maintainer/maintainerheader.tmpl +++ /dev/null @@ -1,45 +0,0 @@ -{{define "maintainerheader"}} - <div class="kk-header-container"> - <div class="container"> - <div class="row"> - <div class="col-12"> - <div class="row mt-3"> - <div class="col-md-5"> - <h1 class="stick-top kk-package-title" id="package-title"> - <small class="kk-package-cat"> - {{- if eq .Maintainer.Email "maintainer-needed@gentoo.org" -}} - {{- else if eq .Maintainer.Type "project" -}} - Gentoo Project - {{- else if contains .Maintainer.Email "@gentoo.org" -}} - Gentoo Developer - {{- else if ne .Maintainer.Email "" -}} - Proxied Maintainer - {{- end -}}</small> - <div> - <svg height="32" class="octicon octicon-person right left kk-package-icon" aria-label="Package icon" viewBox="0 0 16 16" version="1.1" width="32" role="img"><path fill-rule="evenodd" d="M10.5 5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm.061 3.073a4 4 0 10-5.123 0 6.004 6.004 0 00-3.431 5.142.75.75 0 001.498.07 4.5 4.5 0 018.99 0 .75.75 0 101.498-.07 6.005 6.005 0 00-3.432-5.142z"></path></svg> - <div class="kk-package-name">{{if .Maintainer.Name}}{{.Maintainer.Name}}{{else if .Maintainer.Email}}{{.Maintainer.Email}}{{else}}Maintainer Needed{{end}}</div> - </div> - </h1> - </div> - <div class="col-md-7"> - <p class="lead kk-package-maindesc"> - <!-- TODO --> - </p> - </div> - <div class="col-md-12 pt-4 mt-1"> - <nav class="nav kk-package-nav"> - <a class="nav-link {{if eq .PageName "packages"}}active{{end}}" href="/maintainer/{{.Maintainer.Email}}"><i class="fa fa-info mr-1" aria-hidden="true"></i> Packages <span class="ml-1 badge badge-pill kk-misc-badge">{{len .Packages}}</span></a> - <a class="nav-link {{if eq .PageName "stabilization"}}active{{end}}" href="/maintainer/{{.Maintainer.Email}}/stabilization"><i class="fa fa-check-circle-o mr-1" aria-hidden="true"></i> Stabilization <span class="ml-1 badge badge-pill kk-misc-badge">{{.Maintainer.PackagesInformation.StableRequests}}</span></a> - <a class="nav-link {{if eq .PageName "outdated"}}active{{end}}" href="/maintainer/{{.Maintainer.Email}}/outdated"><i class="fa fa-tag mr-1" aria-hidden="true"></i> Outdated <span class="ml-1 badge badge-pill kk-misc-badge">{{.Maintainer.PackagesInformation.Outdated}}</span></a> - <a class="nav-link {{if eq .PageName "pull-requests"}}active{{end}}" href="/maintainer/{{.Maintainer.Email}}/pull-requests"><span class="octicon octicon-git-pull-request opticon-resource-icon ml-1"></span> Pull requests <span class="ml-1 badge badge-pill kk-misc-badge">{{.Maintainer.PackagesInformation.PullRequests}}</span></a> - <a class="nav-link {{if eq .PageName "bugs"}}active{{end}}" href="/maintainer/{{.Maintainer.Email}}/bugs"><i class="fa fa-bug" aria-hidden="true"></i> Bugs <span class="ml-1 badge badge-pill kk-misc-badge">{{.Maintainer.PackagesInformation.Bugs}}</span></a> - <a class="nav-link {{if eq .PageName "security"}}active{{end}}" href="/maintainer/{{.Maintainer.Email}}/security"><i class="fa fa-shield" aria-hidden="true"></i> Security <span class="ml-1 badge badge-pill kk-misc-badge">{{.Maintainer.PackagesInformation.SecurityBugs}}</span></a> - <a class="nav-link {{if eq .PageName "changelog"}}active{{end}}" href="/maintainer/{{.Maintainer.Email}}/changelog"><i class="fa fa-fw fa-history"></i> Changelog</a> - </nav> - </div> - </div> - </div> - </div> - </div> - </div> -{{end}} |