Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
0859e69be0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/layout/aside_flux.phtml

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