From c2844561f3d89bb7657ec34e65f8050b664d2559 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 21 Jan 2021 22:47:58 -0500 Subject: [PATCH] add a follow button --- docs/changelog.txt | 2 ++ web.go | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/changelog.txt b/docs/changelog.txt index cea14ca..7e6049b 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -2,6 +2,8 @@ changelog === next ++ A new follow button in a surprise location. + + Fix mastodon import. + Filters work better with hashtags. diff --git a/web.go b/web.go index 679a02b..09e1547 100644 --- a/web.go +++ b/web.go @@ -727,7 +727,12 @@ func showhonker(w http.ResponseWriter, r *http.Request) { } else { honks = gethonksbyhonker(u.UserID, name, 0) } - msg := templates.Sprintf(`honks by honker: %s`, name, name) + miniform := templates.Sprintf(`
+ + + +
`, login.GetCSRF("submithonker", r), name) + msg := templates.Sprintf(`honks by honker: %s%s`, name, name, miniform) templinfo := getInfo(r) templinfo["PageName"] = "honker" templinfo["PageArg"] = name