internal/web/templates/commit.html

a0dd5878fbda93a49fe7d4503e2ac80fc6f6c8f3
gitbay/internal/web/templates/commit.html

11 lines · 476 bytes

 1{{define "title"}}{{.ShortSHA}} · {{.Repo.OwnerName}}/{{.Repo.Name}}{{end}}
 2{{define "content"}}
 3{{template "repoheader" .}}
 4<h2><code>{{.SHA}}</code></h2>
 5<p>{{template "sigbadge" .Sig}}</p>
 6<p>author: {{.AuthorName}} &lt;{{.AuthorEmail}}&gt; · {{.Date}}
 7{{if .CommitterEmail}}<br>committer: &lt;{{.CommitterEmail}}&gt;{{end}}</p>
 8<pre class="message">{{.Message}}</pre>
 9<pre class="diff">{{range .DiffLines}}<span class="{{.Class}}">{{.Text}}</span>
10{{end}}</pre>
11{{end}}
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form