Browse Source

Minor fix for #2772

Unknwon 6 years ago
parent
commit
12b5a76b0d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      cmd/web.go
  2. 1 1
      templates/home.tmpl

+ 1 - 1
cmd/web.go

@@ -82,7 +82,7 @@ func checkVersion() {
 		{"github.com/go-xorm/xorm", func() string { return xorm.Version }, "0.5.2.0304"},
 		{"github.com/go-macaron/binding", binding.Version, "0.2.1"},
 		{"github.com/go-macaron/cache", cache.Version, "0.1.2"},
-		{"github.com/go-macaron/csrf", csrf.Version, "0.0.3"},
+		{"github.com/go-macaron/csrf", csrf.Version, "0.0.5"},
 		{"github.com/go-macaron/i18n", i18n.Version, "0.2.0"},
 		{"github.com/go-macaron/session", session.Version, "0.1.6"},
 		{"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"},

+ 1 - 1
templates/home.tmpl

@@ -201,7 +201,7 @@
 				</p>
 			</div>
 		</div>
-			{{else if eq .Lang "ru-RU"}}
+	{{else if eq .Lang "ru-RU"}}
 		<div class="ui stackable middle very relaxed page grid">
 			<div class="eight wide center column">
 				<h1 class="hero ui icon header">