Browse Source

fix #1305

for-closed-social
Unknwon 9 years ago
parent
commit
ba47306a69
2 changed files with 2 additions and 4 deletions
  1. +1
    -1
      cmd/web.go
  2. +1
    -3
      templates/org/settings/options.tmpl

+ 1
- 1
cmd/web.go View File

@ -85,7 +85,7 @@ func checkVersion() {
{"github.com/macaron-contrib/csrf", csrf.Version, "0.0.3"},
{"github.com/macaron-contrib/i18n", i18n.Version, "0.0.7"},
{"github.com/macaron-contrib/session", session.Version, "0.1.6"},
{"gopkg.in/ini.v1", ini.Version, "1.2.0"},
{"gopkg.in/ini.v1", ini.Version, "1.3.4"},
}
for _, c := range checkers {
ver := strings.Join(strings.Split(c.Version(), ".")[:3], ".")

+ 1
- 3
templates/org/settings/options.tmpl View File

@ -46,12 +46,10 @@
<label for="location">{{.i18n.Tr "org.settings.location"}}</label>
<input class="ipt ipt-large ipt-radius {{if .Err_Location}}ipt-error{{end}}" id="location" name="location" type="text" value="{{.Org.Location}}" />
</div>
{{if not DisableGravatar}}
<div class="field">
<div class="field {{if DisableGravatar}}hide{{end}}">
<label for="gravatar-email">Gravatar {{.i18n.Tr "email"}}</label>
<input class="ipt ipt-large ipt-radius {{if .Err_Avatar}}ipt-error{{end}}" id="gravatar-email" name="avatar" type="text" value="{{.Org.AvatarEmail}}" />
</div>
{{end}}
<div class="field">
<span class="form-label"></span>
<button class="btn btn-green btn-large btn-radius" id="change-orgname-btn" href="#change-orgname-modal">{{.i18n.Tr "org.settings.update_settings"}}</button>

Loading…
Cancel
Save