summary refs log tree commit diff
path: root/etc (follow)
Commit message (Expand)AuthorAge
* Move heavyweapons binds to autoexecJune McEnroe2018-06-10
* Add explode bindJune McEnroe2018-06-09
* Remove scout configJune McEnroe2018-06-09
* Remove viewmodel disablingJune McEnroe2018-05-30
* Remove demoman mouse2 bindJune McEnroe2018-05-30
* Use scheme for Light terminalJune McEnroe2018-05-29
* Set TERM=xterm in Terminal.appJune McEnroe2018-05-13
* Tabify shell scriptsJune McEnroe2018-05-13
* Add demoman configJune McEnroe2018-04-22
* Add TF2 configsJune McEnroe2018-04-15
* Output Linux console escapes from schemeJune McEnroe2018-03-31
* Brighten color schemeJune McEnroe2018-03-31
* Set Dark terminal to schemeJune McEnroe2018-03-31
* Set Light terminal white to Gruvbox fg3June McEnroe2018-02-28
* Switch to and vendor Go Mono fontJune McEnroe2018-02-21
* Remove Tarmak and Colemak keylayoutsJune McEnroe2018-01-30
* Switch back to QWERTY on LinuxJune McEnroe2018-01-29
* Fix CodeQWERTY layoutJune McEnroe2018-01-27
* Add CodeQWERTY keylayoutJune McEnroe2018-01-27
* Convert to CodeColemak keylayoutJune McEnroe2018-01-26
* Add Colemak keylayoutJune McEnroe2018-01-26
* Remove Code Tarmak 3June McEnroe2017-12-31
* Update Linux console map to Tarmak 4June McEnroe2017-09-27
* Add Code Tarmak 4 layoutJune McEnroe2017-09-27
* Rename files directory etcJune McEnroe2017-09-15
* Remove unused configsJune McEnroe2013-10-14
* Update system configurationsJune McEnroe2013-04-24
* Add PulseAudio configurationJune McEnroe2012-12-19
* Remove rc.confJune McEnroe2012-12-19
* Add cpupower configurationJune McEnroe2012-10-06
* Add system-wide configuration filesJune McEnroe2012-10-06
urable HEAD shortlog on summary page.' href='/cgit-pink/commit/ui-summary.c?h=1.4.1&id=51a960a3ca6b0cade97db287a342996c3e1de48d'>51a960a ^
b228d4f ^
23734c5 ^
b228d4f ^
23734c5 ^
1418034 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31








                                                           
                 

                    
 
                         
 
                               
                                           
                                               

                               

                                                                          
                                              
                                                                      
                                    
                                                                             
                                                      
                                                                     
                                              
                         
 
/* ui-summary.c: functions for generating repo summary page
 *
 * Copyright (C) 2006 Lars Hjemli
 *
 * Licensed under GNU General Public License v2
 *   (see COPYING for full license text)
 */

#include "cgit.h"
#include "html.h"
#include "ui-log.h"
#include "ui-refs.h"

void cgit_print_summary()
{
	if (ctx.repo->readme) {
		html("<div id='summary'>");
		html_include(ctx.repo->readme);
		html("</div>");
	}
	if (ctx.cfg.summary_log > 0)
		cgit_print_log(ctx.qry.head, 0, ctx.cfg.summary_log, NULL,
			       NULL, NULL, 0);
	html("<table summary='repository info' class='list nowrap'>");
	if (ctx.cfg.summary_log > 0)
		html("<tr class='nohover'><td colspan='4'>&nbsp;</td></tr>");
	cgit_print_branches(ctx.cfg.summary_branches);
	html("<tr class='nohover'><td colspan='4'>&nbsp;</td></tr>");
	cgit_print_tags(ctx.cfg.summary_tags);
	html("</table>");
}