From 1b5e1bebc2448439570e2e49233bd6de066b82c6 Mon Sep 17 00:00:00 2001
From: Unknwon
Date: Wed, 4 Nov 2015 00:32:25 -0500
Subject: [PATCH] fix #1886
---
templates/repo/commits_table.tmpl | 2 +-
templates/repo/view_list.tmpl | 6 +++---
2 files changed, 4 insertions(+), 4 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 @@
{{.Author.Name}}
{{end}}
-
{{SubStr .Id.String 0 10}} |
+ {{SubStr .ID.String 0 10}} |
{{RenderCommitMessage .Summary $.RepoLink}} |
{{TimeSince .Author.When $.Lang}} |
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}}
-
- {{ShortSha .LastCommit.Id.String}}
+
+ {{ShortSha .LastCommit.ID.String}}
{{RenderCommitMessage .LastCommit.Summary .RepoLink}}
{{TimeSince .LastCommit.Author.When $.Lang}}
@@ -54,7 +54,7 @@
{{end}}
- {{SubStr $commit.Id.String 0 10}}
+ {{SubStr $commit.ID.String 0 10}}
|
{{RenderCommitMessage $commit.Summary $.RepoLink}}
|