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 { .hide-desktop {
display: none; display: none;
} }
.items h2 {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
} }
/* mobile design */ /* mobile design */

View File

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