From 5d5d774e03ea02b29ff2bd25e1bf63ce82851fc5 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Tue, 10 Mar 2015 03:08:17 +0000 Subject: Handle submodules without a .gitmodules entry - fix #1023 --- templates/repo/view_list.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates/repo/view_list.tmpl') diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 06536b47..f51c1002 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -39,7 +39,11 @@ + {{if $commit.RefUrl}} {{$entry.Name}} @ {{ShortSha $commit.RefId}} + {{else}} + {{$entry.Name}} @ {{ShortSha $commit.RefId}} + {{end}} {{else}} -- cgit v1.2.3