- html_link_open(cgit_repourl(repo->url),
- "Summary", "button");
- html("S</a>");
- html_link_open(cgit_pageurl(repo->name, "log", NULL),
- "Log", "button");
- html("L</a>");
- html_link_open(cgit_pageurl(repo->name, "tree", NULL),
- "Files", "button");
- html("F</a>");
- html("</td></tr>\n");
+ print_modtime(cgit_repo);
+ html("</td>");
+ if (cgit_enable_index_links) {
+ html("<td>");
+ html_link_open(cgit_repourl(cgit_repo->url),
+ NULL, "button");
+ html("summary</a>");
+ cgit_log_link("log", NULL, "button", NULL, NULL, NULL,
+ 0, NULL, NULL);
+ cgit_tree_link("tree", NULL, "button", NULL, NULL, NULL);
+ html("</td>");
+ }
+ html("</tr>\n");