{#- The 1-click connect control of one AI client: the Integrations page draws it, and the connect/disconnect endpoints answer a click with it. One template for both, so the answer to a click keeps what the page shows (it used to drop "Active in: ...", drawn only here). `c` is a client entry: key, short_label, connected, locations, status_error. -#} {% macro connect_ctrl(c, note="", is_error=False) %}