summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-28 13:34:23 +0100
committerhukl <contact@smyck.org>2009-02-28 13:34:23 +0100
commitbd9067272e1bd5a8651c5b9fa66881782406c54c (patch)
treecb9bb1961ab4b376636eb6b3e76312991b125c89 /app/views
parentcc74db30d930b0eaaf0ac29b19ddd452ea0c1462 (diff)
added custom partials to aggregators, added test and refactored some methods
Diffstat (limited to 'app/views')
-rw-r--r--app/views/content/_article.html.erb6
-rw-r--r--app/views/custom_templates/partials/_sidebar_title_only.html.erb3
2 files changed, 6 insertions, 3 deletions
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 @@
1<div class="teaserruler"> 1<div class="teaserruler">
2 <hr/> 2 <hr/>
3</div> 3</div>
4<h2><%= article.title %></h2> 4<h2><%= page.title %></h2>
5<h3><%= date_for_page article %>, <%= @page.user.login %></h3> 5<h3><%= date_for_page page %>, <%= page.user.login %></h3>
6<p><%= article.abstract %></p> \ No newline at end of file 6<p><%= page.abstract %></p> \ 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 @@
1<h2 class="sidebar_headline">
2 <%= page.title %>
3</h2> \ No newline at end of file