Add a pager on the repolist

This enables a pager on the repolist which restricts the number of entries
displayed per page, controlled by the new option `max-repo-count` (default
value 50).

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
这个提交包含在:
Lars Hjemli
2008-05-03 10:54:39 +02:00
父节点 141f1c3eb6
当前提交 c6078b8b00
共有 4 个文件被更改,包括 32 次插入1 次删除

1
cgit.h
查看文件

@@ -145,6 +145,7 @@ struct cgit_config {
int enable_index_links;
int enable_log_filecount;
int enable_log_linecount;
int max_repo_count;
int max_commit_count;
int max_lock_attempts;
int max_msg_len;