Merge pull-request #450

This commit is contained in:
Frederic Guillot 2015-12-14 19:12:30 -05:00
commit b247b4339f
2 changed files with 8 additions and 0 deletions

View File

@ -857,6 +857,12 @@ html[dir="rtl"] span.items-count:before {
.hide-desktop {
display: none;
}
.items h2 {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
/* mobile design */

View File

@ -14,11 +14,13 @@
<a class="original" rel="noreferrer" target="_blank"
href="<?= $item['url'] ?>"
<?= ($original_marks_read) ? 'data-action="mark-read"' : '' ?>
title="<?= Helper\escape($item['title']) ?>"
><?= Helper\escape($item['title']) ?></a>
<?php else: ?>
<a
href="?action=show&amp;menu=<?= $menu ?><?= isset($group_id) ? '&amp;group_id='.$group_id : '' ?>&amp;id=<?= $item['id'] ?>"
class="show"
title="<?= Helper\escape($item['title']) ?>"
><?= Helper\escape($item['title']) ?></a>
<?php endif ?>
</h2>