summaryrefslogtreecommitdiffabout
path: root/ui-summary.c
authorLars Hjemli <hjemli@gmail.com>2007-02-17 12:46:18 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-02-20 23:24:36 (UTC)
commit66cacd053ba900c8eb3b7962027370c84a97f990 (patch) (side-by-side diff)
tree9ccd8202204bf556a186ba1520a6c767756855bf /ui-summary.c
parentac70cb4795c90db02917db63d169b0fadfe9fb99 (diff)
downloadcgit-66cacd053ba900c8eb3b7962027370c84a97f990.zip
cgit-66cacd053ba900c8eb3b7962027370c84a97f990.tar.gz
cgit-66cacd053ba900c8eb3b7962027370c84a97f990.tar.bz2
Layout update
Diffstat (limited to 'ui-summary.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-summary.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui-summary.c b/ui-summary.c
index ff3ed4d..42f4300 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -120,20 +120,22 @@ static void cgit_print_branches()
static void cgit_print_tags()
{
html("<tr class='nohover'><th class='left'>Tag</th>"
"<th class='left'>Created</th>"
"<th class='left'>Author</th>"
"<th class='left'>Reference</th></tr>\n");
for_each_tag_ref(cgit_print_tag_cb, NULL);
}
void cgit_print_summary()
{
html("<h2>");
- html_txt("Repo summary page");
- html("</h2>");
+ html(cgit_repo->name);
+ html("</h2><h3>");
+ html(cgit_repo->desc);
+ html("</h3>");
html("<table class='list nowrap'>");
cgit_print_branches();
html("<tr class='nohover'><td colspan='4'>&nbsp;</td></tr>");
cgit_print_tags();
html("</table>");
}