mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-04-12 02:50:27 -04:00
10 lines
464 B
Plaintext
10 lines
464 B
Plaintext
- cache("homepage_stats") do
|
|
%p.stats
|
|
= t('.message_html',
|
|
member: link_to(t('.member_linktext', count: Member.confirmed.size.to_i), members_path),
|
|
number_crops: link_to(t('.number_crops_linktext', count: Crop.count.to_i), crops_path),
|
|
number_plantings: link_to(t('.number_plantings_linktext', count: Planting.count.to_i), plantings_path),
|
|
number_gardens: link_to(t('.number_gardens_linktext', count: Garden.count.to_i), gardens_path))
|
|
|
|
|