url = cgit_pageurl(cgit_query_repo, page,
fmt("id=%s", sha1_to_hex(obj->sha1)));
html_link_open(url, NULL, NULL);
- htmlf("%s %s", type_names[obj->type],
+ htmlf("%s %s", typename(obj->type),
sha1_to_hex(obj->sha1));
html_link_close();
}
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'> </td></tr>");