diff options
Diffstat (limited to 'templates/org/settings/options.tmpl')
-rw-r--r-- | templates/org/settings/options.tmpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/org/settings/options.tmpl b/templates/org/settings/options.tmpl index 793b9c294c..1ed7acb56e 100644 --- a/templates/org/settings/options.tmpl +++ b/templates/org/settings/options.tmpl @@ -19,6 +19,13 @@ <label class="req" for="orgname">{{.i18n.Tr "username"}}</label> <input class="ipt ipt-large ipt-radius {{if .Err_UserName}}ipt-error{{end}}" id="orgname" name="uname" value="{{.Org.Name}}" data-orgname="{{.Org.Name}}" required /> </div> + <div class="white-popup-block mfp-hide" id="change-orgname-modal"> + <h1 class="text-red">{{.i18n.Tr "org.settings.change_orgname"}}</h1> + <p>{{.i18n.Tr "org.settings.change_orgname_desc"}}</p> + <br> + <button class="btn btn-red btn-large btn-radius" id="change-orgname-submit">{{.i18n.Tr "settings.continue"}}</button> + <button class="btn btn-large btn-radius popup-modal-dismiss">{{.i18n.Tr "settings.cancel"}}</button> + </div> <div class="field"> <label for="full-name">{{.i18n.Tr "org.settings.full_name"}}</label> <input class="ipt ipt-large ipt-radius {{if .Err_FullName}}ipt-error{{end}}" id="full-name" name="fullname" value="{{.Org.FullName}}" /> @@ -45,7 +52,7 @@ </div> <div class="field"> <span class="form-label"></span> - <button class="btn btn-green btn-large btn-radius">{{.i18n.Tr "org.settings.update_settings"}}</button> + <button class="btn btn-green btn-large btn-radius" id="change-orgname-btn" href="#change-orgname-modal">{{.i18n.Tr "org.settings.update_settings"}}</button> </div> </form> </div> |