4
0
Эх сурвалжийг харах

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")
Alexandre Alapetite 12 жил өмнө
parent
commit
0859e69be0

+ 1 - 1
app/layout/aside_flux.phtml

@@ -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>