blob: 3cc719eca8b78e0c6927d20e57201ae83ca54d9c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{{- define "repo_log" -}}
<!DOCTYPE html>
<html lang="en">
<head>
{{ template "head_common" . }}
<title>Log of {{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge</title>
</head>
<body class="repo-log">
<header>
{{ template "header" . }}
</header>
<header>
{{ template "repo_header" . }}
</header>
<table id="commits" class="wide">
<thead>
<tr class="title-row">
<th colspan="4">Commits on {{ .ref }}</th>
</tr>
<tr>
<th scope="col">ID</th>
<th scope="col">Title</th>
<th scope="col">Author</th>
<th scope="col">Time</th>
</tr>
</thead>
<tbody>
{{- range .commits }}
<tr>
<td class="commit-id"><a href="../commit/{{ .ID }}">{{ .ID }}</a></td>
<td class="commit-title">{{ .Message | first_line }}</td>
<td class="commit-author">
<a class="email-name" href="mailto:{{ .Author.Email }}">{{ .Author.Name }}</a>
</td>
<td class="commit-time">
{{ .Author.When.Format "2006-01-02 15:04:05 -0700" }}
</td>
</tr>
{{- end }}
</tbody>
</table>
<footer>
{{ template "footer" . }}
</footer>
</body>
</html>
{{- end -}}
|