From 3c07d03c0388d3b86138572401281b51f2db9282 Mon Sep 17 00:00:00 2001 From: David Svantesson Date: Fri, 17 Jan 2020 08:34:37 +0100 Subject: Add setting to set default and global disabled repository units. (#8788) * Add possibility to global disable repo units. * Add Default Repo Unit app.ini setting. * Hide units * Hide disabled repo units * Minor fixes * Indicate disabled units in team settings. Co-authored-by: Lauris BH Co-authored-by: Lunny Xiao Co-authored-by: zeripath --- templates/org/team/new.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates/org/team/new.tmpl') diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index c38fa4d940..228f86824a 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -81,10 +81,14 @@
{{range $t, $unit := $.Units}} + {{if $unit.Type.UnitGlobalDisabled}} +
+ {{else}}
+ {{end}}
- + {{$.i18n.Tr $unit.DescKey}}
-- cgit v1.2.3