]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
Add more menuitems on repo pages
[ps-cgit] / ui-repolist.c
index 8ade91a039773fa5722a9d55658d3f6239035c51..2018dabbeca245192fc022caec4509fcf0ee166a 100644 (file)
@@ -89,9 +89,7 @@ void cgit_print_repolist(struct cacheitem *item)
                html_link_open(cgit_repourl(cgit_repo->url),
                               "Summary", "button");
                html("S</a>");
-               html_link_open(cgit_pageurl(cgit_repo->name, "log", NULL),
-                              "Log", "button");
-               html("L</a>");
+               cgit_log_link("L", "Log", "button", NULL, NULL, NULL);
                cgit_tree_link("F", "Files", "button", NULL, NULL, NULL);
                html("</td></tr>\n");
        }