mirror of
https://git.zx2c4.com/cgit
synced 2025-07-09 17:54:35 +02:00
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>
This commit is contained in:
parent
141f1c3eb6
commit
c6078b8b00
4 changed files with 32 additions and 1 deletions
1
cgit.h
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue