From 8cd2d1c9fa1212b48e8da80b617419c59e87a343 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 26 May 2019 16:04:39 -0400 Subject: [PATCH] rework honkers page some --- honk.go | 2 +- views/honkers.html | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/honk.go b/honk.go index 302a9f6..aca8cd8 100644 --- a/honk.go +++ b/honk.go @@ -977,7 +977,7 @@ func savehonker(w http.ResponseWriter, r *http.Request) { if honkerid > 0 { goodbye := r.FormValue("goodbye") - if goodbye == "goodbye" { + if goodbye == "F" { db := opendatabase() row := db.QueryRow("select xid from honkers where honkerid = ? and userid = ?", honkerid, u.UserID) diff --git a/views/honkers.html b/views/honkers.html index fa775b6..70e8bab 100644 --- a/views/honkers.html +++ b/views/honkers.html @@ -17,17 +17,15 @@
avatar -

{{ .Name }} +

{{ .Name }}

url: {{ .XID }}

flavor: {{ .Flavor }} -

honks -

combos:{{ range .Combos }} {{ . }}{{ end }}

combos: -

depart: (say "goodbye") +

depart: