start page

This commit is contained in:
Liang Ding 2015-09-30 11:55:02 +08:00
parent 426783b963
commit 4657c48865
2 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ func startHandler(w http.ResponseWriter, r *http.Request) {
}
model := map[string]interface{}{"conf": conf.Wide, "i18n": i18n.GetAll(locale), "locale": locale,
"username": username, "workspace": userWorkspace, "ver": conf.WideVersion, "session": wSession}
"username": username, "workspace": userWorkspace, "ver": conf.WideVersion, "sid": sid}
t, err := template.ParseFiles("views/start.html")

View File

@ -7,7 +7,7 @@
</li>
<li>
<label>{{.i18n.current_session}}{{.i18n.colon}}</label>
{{.session.ID}}
{{.sid}}
</li>
<li class="border workspace">
<label>{{.i18n.workspace}}{{.i18n.colon}}</label>