From 028148274accbbc6396f9e44d92abf365da7de2b Mon Sep 17 00:00:00 2001 From: ItsHarper Date: Wed, 20 Aug 2025 13:32:41 -0500 Subject: [PATCH] appview/strings: replace leftover references to "gist"s Signed-off-by: ItsHarper --- appview/pages/templates/strings/string.html | 2 +- appview/strings/strings.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appview/pages/templates/strings/string.html b/appview/pages/templates/strings/string.html index 80a646e..139c7ab 100644 --- a/appview/pages/templates/strings/string.html +++ b/appview/pages/templates/strings/string.html @@ -35,7 +35,7 @@ title="Delete string" hx-delete="/strings/{{ .String.Did }}/{{ .String.Rkey }}/" hx-swap="none" - hx-confirm="Are you sure you want to delete the gist `{{ .String.Filename }}`?" + hx-confirm="Are you sure you want to delete the string `{{ .String.Filename }}`?" > {{ i "trash-2" "size-4" }} diff --git a/appview/strings/strings.go b/appview/strings/strings.go index a51f348..8634a2b 100644 --- a/appview/strings/strings.go +++ b/appview/strings/strings.go @@ -456,7 +456,7 @@ func (s *Strings) delete(w http.ResponseWriter, r *http.Request) { } if user.Did != id.DID.String() { - fail("You cannot delete this gist", fmt.Errorf("unauthorized deletion, %s != %s", user.Did, id.DID.String())) + fail("You cannot delete this string", fmt.Errorf("unauthorized deletion, %s != %s", user.Did, id.DID.String())) return } -- 2.43.0