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 | 154 ++++++++++++++++++------------------- 1 file changed, 76 insertions(+), 78 deletions(-) diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 78f7c0dc4f..3002ff4b38 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -1,91 +1,89 @@ +
{{with .Repository}} -
- {{end}} {{if not (or .IsBareRepo .IsDiffCompare)}} -