From d710b5e7915a93e215b7522e045630ab20369eea Mon Sep 17 00:00:00 2001 From: chriswatt Date: Sun, 14 Feb 2016 23:26:47 +0000 Subject: [PATCH] Fix when repo is empty --- templates/repo/header.tmpl | 144 ++++++++++++++++++------------------- 1 file changed, 71 insertions(+), 73 deletions(-) diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 78f7c0dc4..3002ff4b3 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -1,91 +1,89 @@ +
{{with .Repository}} -
- {{end}} {{if not (or .IsBareRepo .IsDiffCompare)}} -