Short labels for number of unread items

On the aside flux, suggestion of showing only a number (e.g. "7")
instead of the longer (e.g. "7 unread")
This commit is contained in:
Alexandre Alapetite committed 2013-08-25 12:48:14 +02:00
1 parent 31a6a13268
commit 0859e69be0
1 file changed
+1 -1
+1 -1
View File
@@ -59,7 +59,7 @@
<a class="btn<?php echo $c_active ? ' active' : ''; ?>" href="<?php echo _url ('index', 'index', 'get', 'c_' . $cat->id ()); ?>">
<?php echo $cat->name (); ?>
<?php if ($catNotRead > 0) { ?>
<span class="notRead"><?php echo $catNotRead > 1 ? Translate::t ('not_reads', $catNotRead) : Translate::t ('not_read', $catNotRead); ?></span>
<span class="notRead" title="<?php echo $catNotRead > 1 ? Translate::t ('not_reads', $catNotRead) : Translate::t ('not_read', $catNotRead); ?>"><?php echo $catNotRead ; ?></span>
<?php } ?>
</a>
</div>