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; text-align: center;
} }
.item .infos a.bookmark-icon {
color: #333;
text-decoration: none;
}
/* other pages */ /* other pages */
section li { section li {
margin-left: 15px; margin-left: 15px;

View File

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

View File

@ -11,15 +11,16 @@
</h1> </h1>
<p class="infos"> <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']): ?> <?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: ?> <?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 ?> | <?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" <span id="download-item"
data-item-id="<?= $item['id'] ?>" data-item-id="<?= $item['id'] ?>"
data-failure-message="<?= t('unable to fetch content') ?>" data-failure-message="<?= t('unable to fetch content') ?>"