Skip to content

Commit

Permalink
Adding tooltip to awaiting data status for new adopters (#1269)
Browse files Browse the repository at this point in the history
* initial commit

* removing stylesheet link and refactoring

* changing tooltip to partial

* deleting whitespace

* changing status
  • Loading branch information
jasonwang7517 authored Dec 19, 2024
1 parent fea32be commit 140adf0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/views/organizations/adoptable_pets/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@
<%= image_tag('green_check.png', height: '21') %>
<% end %>
</div>
<% if 'awaiting_data' == @adoption_application.status %>
<div class="mt-1">
<%= 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."} %>
</div>
<% 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 %>
Expand Down

0 comments on commit 140adf0

Please sign in to comment.