author | Lars Hjemli <hjemli@gmail.com> | 2007-06-18 22:56:40 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-06-18 22:56:40 (UTC) |
commit | 0d05bca502f4a5347fa629045aca97ba9b404acc (patch) (unidiff) | |
tree | e11b6a3e183aab02824f83c51759b5d426a64a67 /cgitrc | |
parent | a215bf4620113fcefb8dd3442bf3501bd648c463 (diff) | |
download | cgit-0d05bca502f4a5347fa629045aca97ba9b404acc.zip cgit-0d05bca502f4a5347fa629045aca97ba9b404acc.tar.gz cgit-0d05bca502f4a5347fa629045aca97ba9b404acc.tar.bz2 |
Add setting to enable/disable extra links on index page
The summary/log/tree links displayed for each repository on the index
page lost some of their purpose when the header menu was added, so this
commit introduces the parameter 'enable-index-links' which must be set
to 1 to enable these links.
Suggested-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgitrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,24 +3,28 @@ | |||
3 | ## | 3 | ## |
4 | 4 | ||
5 | 5 | ||
6 | ## Uncomment and set to 1 to deactivate caching of generated pages. Mostly | 6 | ## Uncomment and set to 1 to deactivate caching of generated pages. Mostly |
7 | ## usefull for testing. | 7 | ## usefull for testing. |
8 | #nocache=0 | 8 | #nocache=0 |
9 | 9 | ||
10 | 10 | ||
11 | ## Enable/disable snapshots by default. This can be overridden per repo | 11 | ## Enable/disable snapshots by default. This can be overridden per repo |
12 | #snapshots=0 | 12 | #snapshots=0 |
13 | 13 | ||
14 | 14 | ||
15 | ## Enable/disable extra links to summary/log/tree per repo on index page | ||
16 | #enable-index-links=0 | ||
17 | |||
18 | |||
15 | ## Enable/disable display of 'number of files changed' in log view | 19 | ## Enable/disable display of 'number of files changed' in log view |
16 | #enable-log-filecount=0 | 20 | #enable-log-filecount=0 |
17 | 21 | ||
18 | 22 | ||
19 | ## Enable/disable display of 'number of lines changed' in log view | 23 | ## Enable/disable display of 'number of lines changed' in log view |
20 | #enable-log-linecount=0 | 24 | #enable-log-linecount=0 |
21 | 25 | ||
22 | 26 | ||
23 | ## Enable/disable display of HEAD shortlog in summary view. Set it to maximum | 27 | ## Enable/disable display of HEAD shortlog in summary view. Set it to maximum |
24 | ## number of commits that should be displayed | 28 | ## number of commits that should be displayed |
25 | #summary-log=0 | 29 | #summary-log=0 |
26 | 30 | ||