Add an icon for read items inside the view feed-items

This commit is contained in:
Frédéric Guillot 2013-10-07 22:17:46 -04:00
parent bd477be736
commit b905de3a91
2 changed files with 8 additions and 0 deletions

View File

@ -449,6 +449,10 @@ nav .active a {
color: #555;
}
.items a.read {
color: #666;
}
/* item */
.item {
padding-left: 5px;

View File

@ -27,7 +27,11 @@
href="?action=show&amp;menu=feed-items&amp;id=<?= $item['id'] ?>"
data-item-id="<?= $item['id'] ?>"
id="open-<?= $item['id'] ?>"
<?= $item['status'] === 'read' ? 'class="read"' : '' ?>
>
<?php if ($item['status'] === 'read'): ?>
<?php endif ?>
<?= Helper\escape($item['title']) ?>
</a>
</h2>