diff options
author | Unknwon <u@gogs.io> | 2015-09-25 19:45:44 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-25 19:45:44 -0400 |
commit | 21e13cb51e73471d186b963e26404f89abd81fce (patch) | |
tree | 9dfcbb3f446321066d2e49feb3b71b99d1c6bdca /templates/admin/user | |
parent | 986447335dd4057003b2715034948e87a47bed6b (diff) | |
download | gitea-21e13cb51e73471d186b963e26404f89abd81fce.tar.gz gitea-21e13cb51e73471d186b963e26404f89abd81fce.zip |
#1525 Triggere mailer for admin created accounts
Diffstat (limited to 'templates/admin/user')
-rw-r--r-- | templates/admin/user/new.tmpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/admin/user/new.tmpl b/templates/admin/user/new.tmpl index 7272343818..34630ececa 100644 --- a/templates/admin/user/new.tmpl +++ b/templates/admin/user/new.tmpl @@ -44,6 +44,16 @@ <input id="password" name="password" type="password" value="{{.password}}" {{if eq .login_type "0-0"}}required{{end}}> </div> + <!-- Send register notify e-mail --> + {{if .CanSendEmail}} + <div class="inline field"> + <div class="ui checkbox"> + <label><strong>{{.i18n.Tr "admin.users.send_register_notify"}}</strong></label> + <input name="send_notify" type="checkbox" {{if .send_notify}}checked{{end}}> + </div> + </div> + {{end}} + <div class="field"> <button class="ui green button">{{.i18n.Tr "admin.users.new_account"}}</button> </div> |