~gitpocket/gitpocket

gitpocket/templates/user.html -rw-r--r--492 bytes ViewLogBlameView rawPermalink d622d6a952 — feat(basin): minimal git host with ssh and smart https 4 days ago
1
2
3
4
5
6
7
8
{{define "content"}}
<h1>~{{.Data.Owner.Name}}</h1>
<p class="muted">joined {{ago .Data.Owner.Created}}</p>
{{template "repolist" .Data.Repos}}
{{end}}
{{define "repolist"}}
{{if .}}<ul class="repos">{{range .}}<li><a href="/{{.Path}}">{{.Name}}</a>{{if .Private}} <span class="tag">private</span>{{end}}{{if .Description}}<span class="desc">{{.Description}}</span>{{end}}<span class="when">{{ago .Created}}</span></li>{{end}}</ul>{{else}}<p class="muted">no repositories.</p>{{end}}
{{end}}