Swap unread icons and remove useless href attributes
This commit is contained in:
parent
5f75e81720
commit
b0ba363871
@ -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 */
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?php if ($item['bookmark']): ?>
|
||||
<span
|
||||
class="bookmark-icon"
|
||||
href="?action=bookmark&value=0&id=<?= $item['id'] ?>&menu=<?= $menu ?>&offset=<?= $offset ?>&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&value=1&id=<?= $item['id'] ?>&menu=<?= $menu ?>&offset=<?= $offset ?>&source=<?= $source ?>"
|
||||
data-action="bookmark"
|
||||
data-reverse-title="<?= t('remove bookmark') ?>"
|
||||
title="<?= t('bookmark') ?>"
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?php if ($item['status'] == 'unread'): ?>
|
||||
<span
|
||||
class="read-icon"
|
||||
href="?action=mark-item-read&id=<?= $item['id'] ?>&offset=<?= $offset ?>&redirect=<?= $redirect ?>&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&id=<?= $item['id'] ?>&offset=<?= $offset ?>&redirect=<?= $redirect ?>&feed_id=<?= $item['feed_id'] ?>"
|
||||
data-action="mark-unread"
|
||||
data-reverse-title="<?= t('mark as read') ?>"
|
||||
title="<?= t('mark as unread') ?>"
|
||||
|
Loading…
Reference in New Issue
Block a user