gitmote / internal / webui / templates / browse_commit.html · history · branches
468 bytes · raw
{{define "browse_commit.html"}}{{template "top" .}}
{{template "browse_head" .}}
<h1>{{.Commit.Subject}}</h1>
<p>
<code>{{.Commit.SHA}}</code><br>
{{.Commit.Author}} <{{.Commit.Email}}> · {{.Commit.When.Format "2006-01-02 15:04"}}
{{if .Run}}· CI <a href="/{{.Repo}}/runs/{{.Run.ID}}" style="color:{{statusColor .Run.Status}}">{{.Run.Status}}</a>{{end}}
</p>
{{if .Commit.Body}}<pre>{{.Commit.Body}}</pre>{{end}}
{{.Diff}}
{{template "bottom" .}}{{end}}