From b8717e4fe005a8df13a4983943184881f87d97be Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 15 Aug 2009 22:29:57 +0200 Subject: added pagination for aggregators. costed me the whole day. crappy plugins ARGH! More work to do! --- app/views/custom/page_templates/public/no_date_and_author.html.erb | 4 +++- app/views/custom/page_templates/public/standard_template.html.erb | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'app/views') diff --git a/app/views/custom/page_templates/public/no_date_and_author.html.erb b/app/views/custom/page_templates/public/no_date_and_author.html.erb index 4eda744..254fe45 100644 --- a/app/views/custom/page_templates/public/no_date_and_author.html.erb +++ b/app/views/custom/page_templates/public/no_date_and_author.html.erb @@ -3,4 +3,6 @@

<%= @page.abstract %>

<%= aggregate?(@page.body) %> - \ No newline at end of file + + +

<%= will_paginate(@content_collection) if @content_collection %>

\ No newline at end of file diff --git a/app/views/custom/page_templates/public/standard_template.html.erb b/app/views/custom/page_templates/public/standard_template.html.erb index 4c21667..1822491 100644 --- a/app/views/custom/page_templates/public/standard_template.html.erb +++ b/app/views/custom/page_templates/public/standard_template.html.erb @@ -4,4 +4,6 @@

<%= @page.abstract %>

<%= aggregate?(@page.body) %> - \ No newline at end of file + + +

<%= will_paginate(@content_collection) if @content_collection %>

\ No newline at end of file -- cgit v1.3