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
|
@ -1,15 +1,17 @@
|
||||||
%li
|
%li
|
||||||
= 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 pet_type.num_unlabeled_states > 0
|
- if support_staff?
|
||||||
%span{title: "Unlabeled states"}
|
%p
|
||||||
❓️ #{pet_type.num_unlabeled_states} +
|
- if pet_type.num_unlabeled_states > 0
|
||||||
%span{title: "Labeled main poses"}
|
%span{title: "Unlabeled states"}
|
||||||
- if pet_type.fully_labeled?
|
❓️ #{pet_type.num_unlabeled_states} +
|
||||||
✅ #{pet_type.num_poses}/#{pet_type.num_poses}
|
%span{title: "Labeled main poses"}
|
||||||
- else
|
- if pet_type.fully_labeled?
|
||||||
= moon_progress pet_type.num_poses, pet_type.num_poses + pet_type.num_missing_poses
|
✅ #{pet_type.num_poses}/#{pet_type.num_poses}
|
||||||
#{pet_type.num_poses}/#{pet_type.num_poses + pet_type.num_missing_poses}
|
- else
|
||||||
|
= moon_progress pet_type.num_poses, pet_type.num_poses + pet_type.num_missing_poses
|
||||||
|
#{pet_type.num_poses}/#{pet_type.num_poses + pet_type.num_missing_poses}
|
||||||
|
|
Loading…
Reference in a new issue