growstuff
growstuff copied to clipboard
Add subtitles and clean up pagination across the site
Now we have the :subtitle content area, it would be nice if across the site, wherever we have big collections of things, it looked like this:
title: Crop subtitle: 456 total
(You'll have to pass in a total from the controller, eg. @crops_total = Crop.count ... and of course where there are filters you'll need to make sure you get the right number.)
Then where there's the pagination, remove the info section that has the total number. This will just generally make things cleaner and nicer-looking.
This should be done for:
- crops
- members
- plantings
- harvests
- seeds
- gardens
- posts
- notifications
#785 is relevant to this, where we talk about switching from will_paginate to kaminari for pagination.