diff --git a/apps/fz_http/lib/fz_http_web/live/setting_live/account.html.heex b/apps/fz_http/lib/fz_http_web/live/setting_live/account.html.heex index 0a79a8596..f76ab7da1 100644 --- a/apps/fz_http/lib/fz_http_web/live/setting_live/account.html.heex +++ b/apps/fz_http/lib/fz_http_web/live/setting_live/account.html.heex @@ -106,6 +106,19 @@ <% end %> + + + Product and Security Updates + + + + + <%= link("Click here", to: @subscribe_link) %> + to register for product and security updates. + + + + Danger Zone diff --git a/apps/fz_http/lib/fz_http_web/live/setting_live/account_live.ex b/apps/fz_http/lib/fz_http_web/live/setting_live/account_live.ex index 10ae8077e..0d1619b37 100644 --- a/apps/fz_http/lib/fz_http_web/live/setting_live/account_live.ex +++ b/apps/fz_http/lib/fz_http_web/live/setting_live/account_live.ex @@ -17,6 +17,7 @@ defmodule FzHttpWeb.SettingLive.Account do {:ok, socket + |> assign(:subscribe_link, subscribe_link()) |> assign(:changeset, Users.change_user(socket.assigns.current_user)) |> assign(:methods, MFA.list_methods(socket.assigns.current_user)) |> assign(:page_title, @page_title) @@ -59,4 +60,9 @@ defmodule FzHttpWeb.SettingLive.Account do defp get_metas(presences, user_id) do get_in(presences, [to_string(user_id), :metas]) || [] end + + defp subscribe_link do + tid = Application.get_env(:fz_http, :telemetry_id) + "https://e04kusl9oz5.typeform.com/to/o7gPAFz6#uid=#{tid}" + end end
+ <%= link("Click here", to: @subscribe_link) %> + to register for product and security updates. +