diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo_index.html.tmpl | 2 | ||||
-rw-r--r-- | templates/repo_log.html.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index ca0fd83..4fd4f08 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -21,7 +21,7 @@ <tbody> {{- range .commits }} <tr> - <td class="commit-title">{{ .Message | first_line }}</td> + <td class="commit-title"><a href="commit/{{ .ID }}">{{ .Message | first_line }}</a></td> <td class="commit-author"> <a class="email-name" href="mailto:{{ .Author.Email }}">{{ .Author.Name }}</a> </td> diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl index 67f28a8..9054c2d 100644 --- a/templates/repo_log.html.tmpl +++ b/templates/repo_log.html.tmpl @@ -21,7 +21,7 @@ <tbody> {{- range .commits }} <tr> - <td class="commit-id">{{ .Hash.String }}</td> + <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> |