Swap unread icons and remove useless href attributes

This commit is contained in:
Frederic Guillot 2016-03-17 19:57:46 -04:00
parent 5f75e81720
commit b0ba363871
3 changed files with 2 additions and 6 deletions

View File

@ -380,11 +380,11 @@ article[data-item-bookmark="1"] .bookmark-icon:before {
}
article[data-item-status="read"] .read-icon:before {
content: "";
content: "";
}
article[data-item-status="unread"] .read-icon:before {
content: "";
content: "";
}
/* counter brackets */

View File

@ -1,7 +1,6 @@
<?php if ($item['bookmark']): ?>
<span
class="bookmark-icon"
href="?action=bookmark&amp;value=0&amp;id=<?= $item['id'] ?>&amp;menu=<?= $menu ?>&amp;offset=<?= $offset ?>&amp;source=<?= $source ?>"
data-action="bookmark"
data-reverse-title="<?= t('bookmark') ?>"
title="<?= t('remove bookmark') ?>"
@ -9,7 +8,6 @@
<?php else: ?>
<span
class="bookmark-icon"
href="?action=bookmark&amp;value=1&amp;id=<?= $item['id'] ?>&amp;menu=<?= $menu ?>&amp;offset=<?= $offset ?>&amp;source=<?= $source ?>"
data-action="bookmark"
data-reverse-title="<?= t('remove bookmark') ?>"
title="<?= t('bookmark') ?>"

View File

@ -1,7 +1,6 @@
<?php if ($item['status'] == 'unread'): ?>
<span
class="read-icon"
href="?action=mark-item-read&amp;id=<?= $item['id'] ?>&amp;offset=<?= $offset ?>&amp;redirect=<?= $redirect ?>&amp;feed_id=<?= $item['feed_id'] ?>"
data-action="mark-read"
data-reverse-title="<?= t('mark as unread') ?>"
title="<?= t('mark as read') ?>"
@ -9,7 +8,6 @@
<?php else: ?>
<span
class="read-icon"
href="?action=mark-item-unread&amp;id=<?= $item['id'] ?>&amp;offset=<?= $offset ?>&amp;redirect=<?= $redirect ?>&amp;feed_id=<?= $item['feed_id'] ?>"
data-action="mark-unread"
data-reverse-title="<?= t('mark as read') ?>"
title="<?= t('mark as unread') ?>"