From a74491fbe340f0132be25d751699940fd1829eca Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 18 Feb 2026 00:29:47 -0800 Subject: [PATCH] display subscription id in tooltip --- service/server/handlers_apps.go | 3 ++- service/server/templates/app-list.html | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/service/server/handlers_apps.go b/service/server/handlers_apps.go index d2bea1e..fb9502b 100644 --- a/service/server/handlers_apps.go +++ b/service/server/handlers_apps.go @@ -2,6 +2,7 @@ package server import ( "encoding/json" + "fmt" "net/http" "prism/service/notification" @@ -22,7 +23,7 @@ func (s *Server) handleDeleteApp(w http.ResponseWriter, r *http.Request) { return } - util.SetToast(w, "App deleted", "success") + util.SetToast(w, fmt.Sprintf("App %s deleted", app), "success") s.handleFragmentApps(w, r) } diff --git a/service/server/templates/app-list.html b/service/server/templates/app-list.html index 3a703f6..6c57d1e 100644 --- a/service/server/templates/app-list.html +++ b/service/server/templates/app-list.html @@ -16,6 +16,7 @@ hx-target="#apps-list" hx-swap="innerHTML"> {{.Label}} + Subscription ID: {{(index .Subscriptions 0).ID}} {{else}}