summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 93b7e213c..d109d6d34 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -6,8 +6,9 @@ $itemmapper = new OC_News_ItemMapper();
$items = $itemmapper->findAll($feedid);
-echo '<ul>';
+echo '<ul class="accordion">';
foreach($items as $item) {
- echo '<li>' . $item->getTitle() . '</li>';
+ echo '<li><div class="title">' . $item->getTitle() . '</div>';
+ echo '<div class="body">' . $item->getBody() . '</div></li>';
}
echo '</ul>';