changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > werc / changeset: Display only 20 entries per column in man page listings, this avoids scrillbars most of the time.

changeset 610: d76e2648462a
parent 609: 45133be7b193
child 611: 7b4a30e1feb9
author: uriel@soma
date: Thu, 29 Oct 2009 09:47:53 +0000
files: apps/wman/page_list.tpl
description: Display only 20 entries per column in man page listings, this avoids scrillbars most of the time.
     1.1--- a/apps/wman/page_list.tpl	Thu Oct 29 09:47:19 2009 +0000
     1.2+++ b/apps/wman/page_list.tpl	Thu Oct 29 09:47:53 2009 +0000
     1.3@@ -5,7 +5,7 @@
     1.4 %{
     1.5 wman_ls_pages $wman_cat_path \
     1.6     | awk -F/ '{ print "<li><a href=\""$(NF)"\">"$(NF)"</a></li>" }
     1.7-    NR%28 == 0 { print "</ul><ul style=\"float: left\">" }'
     1.8+    NR%20 == 0 { print "</ul><ul style=\"float: left\">" }'
     1.9 %}
    1.10 </ul>
    1.11