start page
This commit is contained in:
parent
426783b963
commit
4657c48865
2
main.go
2
main.go
|
@ -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")
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue