From bd9067272e1bd5a8651c5b9fa66881782406c54c Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 28 Feb 2009 13:34:23 +0100 Subject: added custom partials to aggregators, added test and refactored some methods --- app/views/content/_article.html.erb | 6 +++--- app/views/custom_templates/partials/_sidebar_title_only.html.erb | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 app/views/custom_templates/partials/_sidebar_title_only.html.erb (limited to 'app/views') diff --git a/app/views/content/_article.html.erb b/app/views/content/_article.html.erb index 009d639..e2f2877 100644 --- a/app/views/content/_article.html.erb +++ b/app/views/content/_article.html.erb @@ -1,6 +1,6 @@

-

<%= article.title %>

-

<%= date_for_page article %>, <%= @page.user.login %>

-

<%= article.abstract %>

\ No newline at end of file +

<%= page.title %>

+

<%= date_for_page page %>, <%= page.user.login %>

+

<%= page.abstract %>

\ No newline at end of file diff --git a/app/views/custom_templates/partials/_sidebar_title_only.html.erb b/app/views/custom_templates/partials/_sidebar_title_only.html.erb new file mode 100644 index 0000000..819d9ae --- /dev/null +++ b/app/views/custom_templates/partials/_sidebar_title_only.html.erb @@ -0,0 +1,3 @@ + \ No newline at end of file -- cgit v1.3