The bookmark link is now a star icon

This commit is contained in:
Frederic Guillot 2013-08-04 16:06:14 -04:00
parent 97b45bebe5
commit dafa3c9a4c
3 changed files with 12 additions and 6 deletions

View File

@ -548,6 +548,11 @@ span.downloading img {
text-align: center;
}
.item .infos a.bookmark-icon {
color: #333;
text-decoration: none;
}
/* other pages */
section li {
margin-left: 15px;

View File

@ -23,7 +23,7 @@
<article>
<h2 class="<?= (! $feed['enabled']) ? 'feed-disabled' : '' ?>">
<?php if (! $feed['enabled']): ?>
<span title="<?= t('Subscription disabled') ?>"></a>
<span title="<?= t('Subscription disabled') ?>"></a>
<?php else: ?>
<span id="loading-feed-<?= $feed['id'] ?>"></span>
<?php endif ?>

View File

@ -11,15 +11,16 @@
</h1>
<p class="infos">
<a href="?action=feed-items&amp;feed_id=<?= $feed['id'] ?>"><?= Helper\escape($feed['title']) ?></a> |
<span class="hide-mobile"><?= dt('%e %B %Y - %k:%M', $item['updated']) ?> |</span>
<?php if ($item['bookmark']): ?>
<a href="?action=bookmark&amp;value=0&amp;id=<?= $item['id'] ?>&amp;source=show&amp;menu=<?= $menu ?>"><?= t('remove bookmark') ?></a>
<a href="?action=bookmark&amp;value=0&amp;id=<?= $item['id'] ?>&amp;source=show&amp;menu=<?= $menu ?>" title="<?= t('remove bookmark') ?>" class="bookmark-icon"></a>
<?php else: ?>
<a href="?action=bookmark&amp;value=1&amp;id=<?= $item['id'] ?>&amp;source=show&amp;menu=<?= $menu ?>"><?= t('bookmark') ?></a>
<a href="?action=bookmark&amp;value=1&amp;id=<?= $item['id'] ?>&amp;source=show&amp;menu=<?= $menu ?>" title="<?= t('bookmark') ?>" class="bookmark-icon"></a>
<?php endif ?> |
<a href="?action=feed-items&amp;feed_id=<?= $feed['id'] ?>"><?= Helper\escape($feed['title']) ?></a> |
<span class="hide-mobile"><?= dt('%e %B %Y - %k:%M', $item['updated']) ?> |</span>
<span id="download-item"
data-item-id="<?= $item['id'] ?>"
data-failure-message="<?= t('unable to fetch content') ?>"