From 140adf0ef525ce039f6ace567433276c48b9de3c Mon Sep 17 00:00:00 2001 From: Jason Wang <39580712+jasonwang7517@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:09:49 -0800 Subject: [PATCH] Adding tooltip to awaiting data status for new adopters (#1269) * initial commit * removing stylesheet link and refactoring * changing tooltip to partial * deleting whitespace * changing status --- app/views/organizations/adoptable_pets/show.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/organizations/adoptable_pets/show.html.erb b/app/views/organizations/adoptable_pets/show.html.erb index be807cd85..7e173f1f4 100644 --- a/app/views/organizations/adoptable_pets/show.html.erb +++ b/app/views/organizations/adoptable_pets/show.html.erb @@ -156,6 +156,11 @@ <%= image_tag('green_check.png', height: '21') %> <% end %> + <% if 'awaiting_data' == @adoption_application.status %> +
+ <%= render partial: "shared/empty_state", locals: {text: "Please make sure you fill out the adoption questionnaire so staff have enough information to process your application."} %> +
+ <% end %> <% elsif allowed_to?(:manage?, @pet) %> <%= link_to "Manage #{@pet.name}", staff_pet_path(@pet) %> <%# FIXME: This section was missed during the remove of AdopterFosterProfile but I think it requires FormSubmission to be ready to refactor %>