From 0e271799f2ec744332761cd87fe0d96f4d9653e0 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 6 Apr 2017 17:13:53 -0400 Subject: Refactoring: rename and simplify pkg/tool functions --- templates/repo/view_list.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/repo/view_list.tmpl') diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index f532dd74..1b7ae9e0 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -9,7 +9,7 @@ {{.LatestCommit.Author.Name}} {{end}} - {{ShortSha .LatestCommit.ID.String}} + {{ShortSHA1 .LatestCommit.ID.String}} {{RenderCommitMessage false .LatestCommit.Summary .RepoLink $.Repository.ComposeMetas}} @@ -32,9 +32,9 @@ {{$refURL := $commit.RefURL AppUrl $.BranchLink}} {{if $refURL}} - {{$entry.Name}} @ {{ShortSha $commit.RefID}} + {{$entry.Name}} @ {{ShortSHA1 $commit.RefID}} {{else}} - {{$entry.Name}} @ {{ShortSha $commit.RefID}} + {{$entry.Name}} @ {{ShortSHA1 $commit.RefID}} {{end}} {{else}} @@ -44,7 +44,7 @@ {{end}} - {{ShortSha $commit.ID.String}} + {{ShortSHA1 $commit.ID.String}} {{RenderCommitMessage false $commit.Summary $.RepoLink $.Repository.ComposeMetas}} {{TimeSince $commit.Committer.When $.Lang}} -- cgit v1.2.3