{{define "repo"}}{{if .Error}} This repository has no README at its default branch.{{.Query.Get "repo"}}
{{template "alert" .Error}}{{str (index $repo "identifier")}}
| {{if eq $view "file"}} This is a binary file. Download it to view its contents. {{else if index $repo "content"}}{{sourceHTML .Event}} {{else}}This file is empty. {{end}}{{else}}select a file to preview {{end}} |
| {{str (index $commit "author")}} | {{str (index $commit "subject")}} | {{shortID (index $commit "oid")}} {{short (index $commit "time")}} |
| No commits. | ||
{{if .Query.Get "offset"}}first page {{end}}{{if hasNextOffset (index $repo "next_offset")}}next page{{end}}
{{shortID (index $repo "commit")}}No repository activity.
{{end}}{{if .Query.Get "offset"}}first page {{end}}{{if hasNextOffset (index $repo "next_offset")}}more{{end}}
{{end}}