From 1c8062c6562546ac5d6054f0ab779c74dfb00d92 Mon Sep 17 00:00:00 2001 From: Gerben Date: Tue, 20 Mar 2018 15:50:08 +0100 Subject: [PATCH] Hide Wiki from repo header Should only show if there is a wiki. --- templates/repo/header.tmpl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 62b350a..267632f 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -59,12 +59,6 @@ {{end}} - {{if or (.Repository.UnitEnabled $.UnitTypeWiki) (.Repository.UnitEnabled $.UnitTypeExternalWiki)}} - - {{.i18n.Tr "repo.wiki"}} - - {{end}} - {{if and (.Repository.AnyUnitEnabled $.UnitTypePullRequests $.UnitTypeIssues $.UnitTypeReleases) (not .IsBareRepo)}} {{.i18n.Tr "repo.activity"}}