diff --git a/lib/microwaveprop_web/live/contact_live/show.ex b/lib/microwaveprop_web/live/contact_live/show.ex index 7c5aabf6..21c7b909 100644 --- a/lib/microwaveprop_web/live/contact_live/show.ex +++ b/lib/microwaveprop_web/live/contact_live/show.ex @@ -895,7 +895,25 @@ defmodule MicrowavepropWeb.ContactLive.Show do <%= if @contact.pos1 && @contact.pos2 do %>

- Locations approximate, in the center of the grid squares + Locations approximate, in the center of the grid squares. + <%= if current_user(assigns) do %> + Have more detailed position information? + + <% else %> + Have more detailed position information? + <.link + navigate={~p"/users/log-in"} + class="link link-hover not-italic text-base-content/70" + > + Log in to suggest an edit + + <% end %>

0 do + "Tropo duct detected at #{ducting}/#{total} HRRR samples along the path." + end + end + + defp path_duct_count_detail(_), do: nil + defp refractivity_detail(%{min_refractivity_gradient: grad}) when is_number(grad) do g = round(grad) label = refractivity_label(g)