summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-08-16 16:45:53 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-08-16 16:45:53 +0200
commit9dd7b4bf79546fe54400cee2a79d01b6a86331cd (patch)
tree212e9ea7dffb00f7557b3b491e6ecf4516644040 /templates
parent1154465787112ff153191222edfdc70857d0e1b0 (diff)
made all entries look the same in the feedsbar
Diffstat (limited to 'templates')
-rw-r--r--templates/part.items.php6
-rw-r--r--templates/part.listfeed.php4
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 3d9c366d6..efe37821a 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -30,6 +30,9 @@ foreach($items as $item) {
echo '<li class="feed_item ' . $newsItemClass .'" data-id="' . $item->getId() . '" data-feedid="' . $feedId . '">';
+ echo '<h2 class="item_date"><time class="timeago" datetime="' .
+ date('c', $item->getDate()) . '">' . date('F j, Y, g:i a', $item->getDate()) . '</time>' . '</h2>';
+
echo '<div class="utils">';
echo '<ul class="primary_item_utils">';
echo '<li class="star ' . $starClass . '" title="' . $startTitle . '"></li>';
@@ -40,9 +43,6 @@ foreach($items as $item) {
echo '</ul>';
echo '</div>';
- echo '<h2 class="item_date"><time class="timeago" datetime="' .
- date('c', $item->getDate()) . '">' . date('F j, Y, g:i a', $item->getDate()) . '</time>' . '</h2>';
-
echo '<h1 class="item_title"><a target="_blank" href="' . $item->getUrl() . '">' . $item->getTitle() . '</a></h1>';
if(trim($item->getAuthor()) == ''){
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index d3008bc91..e06dcd38c 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -16,8 +16,8 @@ if($unreadItemsCount == 0){
$allReadClass = '';
}
-echo '<li class="feed" data-id="' . $feed->getId() . '">';
-echo '<a href="#" style="background-image: url(' . $favicon . '); " class="' . $allReadClass . '">' . $feed->getTitle() .'</a>';
+echo '<li class="feed" data-id="' . $feed->getId() . '" style="background-image: url(' . $favicon . ');">';
+echo '<a href="#" " class="' . $allReadClass . '">' . $feed->getTitle() .'</a>';
echo '<span class="unreaditemcounter ' . $allReadClass . '">' . $unreadItemsCount . '</span>';
echo '<button class="svg action feeds_edit" title="' . $l->t('Edit feed') . '"></button>';
echo '<button class="svg action feeds_delete" onClick="(News.Feed.delete(' . $feed->getId(). '))" title="' . $l->t('Delete feed') . '"></button>';