diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-10-15 00:36:44 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-10-15 00:37:11 -0400 |
commit | 17814509754fa405d1f7be716cbeca1cd08deda8 (patch) | |
tree | f395c8dcce813ce9f2cbadfa752b5b66bf2b6e1d /templates/part.items.php | |
parent | 1e37bc139bb28e6fe9b0dd0d477e2dbef5a2cab9 (diff) |
specifies name of the blog when showing items
Diffstat (limited to 'templates/part.items.php')
-rw-r--r-- | templates/part.items.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/part.items.php b/templates/part.items.php index 174a96e5e..d331f5172 100644 --- a/templates/part.items.php +++ b/templates/part.items.php @@ -31,7 +31,11 @@ foreach($items as $item) { echo '</div>'; echo '<h1 class="item_title"><a target="_blank" href="' . $item->getUrl() . '">' . htmlspecialchars($item->getTitle(), ENT_QUOTES, 'UTF-8') . '</a></h1>'; - + +// if ($lastViewedFeedType !== OCA\News\FeedType::FEED) { + echo '<div class="item_feed">' . $l->t('from') . ' ' . $item->getFeedTitle() . '</div>'; +// } + if(($item->getAuthor() !== null) && (trim($item->getAuthor()) != '')) { echo '<h2 class="item_author">'. $l->t('by') . ' ' . htmlspecialchars($item->getAuthor(), ENT_QUOTES, 'UTF-8') . '</h2>'; } |