Add 'mark as unread' link on item (merge pull-request #200)

This commit is contained in:
Frédéric Guillot 2014-05-17 09:42:24 -04:00
parent 4e9ee0e885
commit 71f391ed7a
3 changed files with 9 additions and 1 deletions

View File

@ -107,6 +107,7 @@ People who sent a pull-request, report a bug, make a new theme or share a super
- Ing. Jan Kaláb: https://github.com/Pitel - Ing. Jan Kaláb: https://github.com/Pitel
- Itoine: https://github.com/itoine - Itoine: https://github.com/itoine
- James Scott-Brown: https://github.com/jamesscottbrown - James Scott-Brown: https://github.com/jamesscottbrown
- James Barwell: https://github.com/JamesBarwell
- Luca Marra: https://github.com/facciocose - Luca Marra: https://github.com/facciocose
- Maxime: https://github.com/EpocDotFr - Maxime: https://github.com/EpocDotFr
- MonsieurPaulLeBoulanger: https://github.com/MonsieurPaulLeBoulanger - MonsieurPaulLeBoulanger: https://github.com/MonsieurPaulLeBoulanger

View File

@ -144,7 +144,7 @@ return array(
'original link' => 'lien original', 'original link' => 'lien original',
'mark as read' => 'marquer comme lu', 'mark as read' => 'marquer comme lu',
'No history' => 'Aucun historique', 'No history' => 'Aucun historique',
'mark as unread' => 'non lu', 'mark as unread' => 'marquer comme non lu',
'History' => 'Historique', 'History' => 'Historique',
'flush all items' => 'supprimer tous les éléments', 'flush all items' => 'supprimer tous les éléments',
'Item not found' => 'Élément introuvable', 'Item not found' => 'Élément introuvable',

View File

@ -69,6 +69,13 @@
<a href="<?= $item['enclosure'] ?>" rel="noreferrer" target="_blank"><?= t('attachment') ?></a> <a href="<?= $item['enclosure'] ?>" rel="noreferrer" target="_blank"><?= t('attachment') ?></a>
</li> </li>
<?php endif ?> <?php endif ?>
<li>
<a
href="?action=mark-item-unread&amp;id=<?= $item['id'] ?>&amp;redirect=unread"
>
<?= t('mark as unread') ?>
</a>
</li>
<li class="hide-mobile"> <li class="hide-mobile">
<span id="download-item" <span id="download-item"
data-item-id="<?= $item['id'] ?>" data-item-id="<?= $item['id'] ?>"