Add date to pet types in Rainbow Pool

This commit is contained in:
Emi Matchu 2024-10-11 16:00:07 -07:00
parent 6934b636fb
commit 5648f55d2c

View file

@ -2,8 +2,10 @@
= link_to pet_type do = link_to pet_type do
= pet_type_image pet_type, :happy, :thumb, class: "preview" = pet_type_image pet_type, :happy, :thumb, class: "preview"
.name= pet_type.human_name .name= pet_type.human_name
- if support_staff?
.info .info
%p Added #{time_with_only_month_if_old pet_type.created_at}
- if support_staff?
%p
- if pet_type.num_unlabeled_states > 0 - if pet_type.num_unlabeled_states > 0
%span{title: "Unlabeled states"} %span{title: "Unlabeled states"}
❓️ #{pet_type.num_unlabeled_states} + ❓️ #{pet_type.num_unlabeled_states} +