summaryrefslogtreecommitdiffstats
path: root/templates/repo/view_list.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/view_list.tmpl
parent3a81fdf092a39cc94f3bb896a42db8546bd5f39a (diff)
downloadgitea-1b5e1bebc2448439570e2e49233bd6de066b82c6.tar.gz
gitea-1b5e1bebc2448439570e2e49233bd6de066b82c6.zip
fix #1886
Diffstat (limited to 'templates/repo/view_list.tmpl')
-rw-r--r--templates/repo/view_list.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index d3303193f8..50d0074be8 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -12,8 +12,8 @@
{{end}}
&nbsp;
</span>
- <span class="last-commit"><a href="{{.RepoLink}}/commit/{{.LastCommit.Id}}" rel="nofollow">
- <strong>{{ShortSha .LastCommit.Id.String}}</strong></a>
+ <span class="last-commit"><a href="{{.RepoLink}}/commit/{{.LastCommit.ID}}" rel="nofollow">
+ <strong>{{ShortSha .LastCommit.ID.String}}</strong></a>
<span class="text-truncate">{{RenderCommitMessage .LastCommit.Summary .RepoLink}}</span>
</span>
<span class="age right">{{TimeSince .LastCommit.Author.When $.Lang}}</span>
@@ -54,7 +54,7 @@
</td>
{{end}}
<td class="sha">
- <a rel="nofollow" class="label label-green" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.Id}} ">{{SubStr $commit.Id.String 0 10}} </a>
+ <a rel="nofollow" class="label label-green" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.ID}} ">{{SubStr $commit.ID.String 0 10}} </a>
</td>
<td class="message">
<span class="text-truncate">{{RenderCommitMessage $commit.Summary $.RepoLink}}</span>