growstuff icon indicating copy to clipboard operation
growstuff copied to clipboard

Add subtitles and clean up pagination across the site

Open Skud opened this issue 10 years ago • 1 comments

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

Skud avatar Dec 12 '14 04:12 Skud

#785 is relevant to this, where we talk about switching from will_paginate to kaminari for pagination.

cesy avatar Aug 06 '15 12:08 cesy