Add date to pet types in Rainbow Pool
This commit is contained in:
parent
6934b636fb
commit
5648f55d2c
1 changed files with 16 additions and 14 deletions
|
@ -2,8 +2,10 @@
|
|||
= link_to pet_type do
|
||||
= pet_type_image pet_type, :happy, :thumb, class: "preview"
|
||||
.name= pet_type.human_name
|
||||
- if support_staff?
|
||||
.info
|
||||
%p Added #{time_with_only_month_if_old pet_type.created_at}
|
||||
- if support_staff?
|
||||
%p
|
||||
- if pet_type.num_unlabeled_states > 0
|
||||
%span{title: "Unlabeled states"}
|
||||
❓️ #{pet_type.num_unlabeled_states} +
|
||||
|
|
Loading…
Reference in a new issue