[JD] Generate pagination links via helper method
[LF] [000] fix indentation, remove private
Merge pull request #2 from primedia/jd_dry_up_templates

[JD] Generate pagination links via helper method