diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index cd7d2c304b..dbe7d81f84 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -93,14 +93,15 @@ {{.CsrfTokenHtml}} + {{$isWikiEnabled := or (.Repository.EnableUnit $.UnitTypeWiki) (.Repository.EnableUnit $.UnitTypeExternalWiki)}}
- +
-
+
@@ -122,14 +123,15 @@
+ {{$isIssuesEnabled := or (.Repository.EnableUnit $.UnitTypeIssues) (.Repository.EnableUnit $.UnitTypeExternalTracker)}}
- +
-
+