diff options
Diffstat (limited to 'templates')
-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>'; } |