]> gitweb.ps.run Git - ps-cgit/commit
Restrict length of repo description on repolist page
authorLars Hjemli <hjemli@gmail.com>
Wed, 16 May 2007 08:45:45 +0000 (10:45 +0200)
committerLars Hjemli <hjemli@gmail.com>
Wed, 16 May 2007 08:46:59 +0000 (10:46 +0200)
commitc1ad6cb77889880ad0189a689840fbfa6e5cbc80
tree352c32898316a388b582385a5fb3c6c534eaa30a
parentf4f1339fe62fb1a28c147567195a86dd99485e25
Restrict length of repo description on repolist page

If any repo has a very long description, all repos suffer since the
repo-links in the right-most column gets pushed out of sight.

Fix it by introducing max-repodesc-length parameter in cgitrc, and default
to 60 chars.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.h
cgitrc
shared.c
ui-repolist.c