diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index a077af0b..6fc17508 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 d3303193..50d0074b 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}}