do not show feed title/url when browsing the articles of a chosen feed

It doesn't contain any useful info.
This commit is contained in:
Mathias Kresin 2015-12-09 20:24:07 +01:00
parent d5b06afbc9
commit de50709f46

View File

@ -32,6 +32,7 @@
</p> </p>
<?php endif ?> <?php endif ?>
<ul class="item-menu"> <ul class="item-menu">
<?php if ($menu !== 'feed-items'): ?>
<li> <li>
<?php if (! isset($item['feed_title'])): ?> <?php if (! isset($item['feed_title'])): ?>
<?= Helper\get_host_from_url($item['url']) ?> <?= Helper\get_host_from_url($item['url']) ?>
@ -39,6 +40,7 @@
<a href="?action=feed-items&amp;feed_id=<?= $item['feed_id'] ?>" title="<?= t('Show only this subscription') ?>"><?= Helper\escape($item['feed_title']) ?></a> <a href="?action=feed-items&amp;feed_id=<?= $item['feed_id'] ?>" title="<?= t('Show only this subscription') ?>"><?= Helper\escape($item['feed_title']) ?></a>
<?php endif ?> <?php endif ?>
</li> </li>
<?php endif ?>
<li class="hide-mobile"> <li class="hide-mobile">
<span title="<?= dt('%e %B %Y %k:%M', $item['updated']) ?>"><?= Helper\relative_time($item['updated']) ?></span> <span title="<?= dt('%e %B %Y %k:%M', $item['updated']) ?>"><?= Helper\relative_time($item['updated']) ?></span>
</li> </li>