summaryrefslogtreecommitdiffstats
path: root/templates/repo/commits_table.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-04 00:32:25 -0500
committerUnknwon <u@gogs.io>2015-11-04 00:32:25 -0500
commit1b5e1bebc2448439570e2e49233bd6de066b82c6 (patch)
treebe8f55bbff13d9134cbf3f7905057c2b0a282b2e /templates/repo/commits_table.tmpl
parent3a81fdf092a39cc94f3bb896a42db8546bd5f39a (diff)
downloadgitea-1b5e1bebc2448439570e2e49233bd6de066b82c6.tar.gz
gitea-1b5e1bebc2448439570e2e49233bd6de066b82c6.zip
fix #1886
Diffstat (limited to 'templates/repo/commits_table.tmpl')
-rw-r--r--templates/repo/commits_table.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl
index a077af0b78..6fc17508c5 100644
--- a/templates/repo/commits_table.tmpl
+++ b/templates/repo/commits_table.tmpl
@@ -36,7 +36,7 @@
<img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/>&nbsp;&nbsp;{{.Author.Name}}
{{end}}
</td>
- <td class="sha"><a rel="nofollow" class="ui green sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.Id}} ">{{SubStr .Id.String 0 10}} </a></td>
+ <td class="sha"><a rel="nofollow" class="ui green sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.ID}} ">{{SubStr .ID.String 0 10}} </a></td>
<td class="message"><span class="text truncate">{{RenderCommitMessage .Summary $.RepoLink}}</span></td>
<td class="date">{{TimeSince .Author.When $.Lang}}</td>
</tr>