diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-08-02 01:46:54 -0700 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-08-02 11:46:54 +0300 |
commit | f29458bd3a20d2d89638d5031d801c161f456374 (patch) | |
tree | 959c680d58eb5cfd82d719357759963fa7095fe6 /templates/org/team | |
parent | 539d9f4c3070abb0f024b133a4f53187a76cbcb7 (diff) | |
download | gitea-f29458bd3a20d2d89638d5031d801c161f456374.tar.gz gitea-f29458bd3a20d2d89638d5031d801c161f456374.zip |
EnableUnit() -> UnitEnabled() (#2242)
Diffstat (limited to 'templates/org/team')
-rw-r--r-- | templates/org/team/new.tmpl | 2 |
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> |