aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/team
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-08-02 01:46:54 -0700
committerLauris BH <lauris@nix.lv>2017-08-02 11:46:54 +0300
commitf29458bd3a20d2d89638d5031d801c161f456374 (patch)
tree959c680d58eb5cfd82d719357759963fa7095fe6 /templates/org/team
parent539d9f4c3070abb0f024b133a4f53187a76cbcb7 (diff)
downloadgitea-f29458bd3a20d2d89638d5031d801c161f456374.tar.gz
gitea-f29458bd3a20d2d89638d5031d801c161f456374.zip
EnableUnit() -> UnitEnabled() (#2242)
Diffstat (limited to 'templates/org/team')
-rw-r--r--templates/org/team/new.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl
index 79338394bf..27335e247a 100644
--- a/templates/org/team/new.tmpl
+++ b/templates/org/team/new.tmpl
@@ -57,7 +57,7 @@
{{range $t, $unit := $.Units}}
<div class="field">
<div class="ui toggle checkbox">
- <input type="checkbox" class="hidden" name="units" value="{{$unit.Type}}"{{if $.Team.EnableUnit $unit.Type}} checked{{end}}>
+ <input type="checkbox" class="hidden" name="units" value="{{$unit.Type}}"{{if $.Team.UnitEnabled $unit.Type}} checked{{end}}>
<label>{{$.i18n.Tr $unit.NameKey}}</label>
<span class="help">{{$.i18n.Tr $unit.DescKey}}</span>
</div>