]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-tree.c
added snapshot filename to the link
[ps-cgit] / ui-tree.c
index 1037c823a3fc0f3034066603f79307d6a87aa594..c5d64ffe81246cd6fbf937b8ae1fe9dfd84bfdd9 100644 (file)
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -92,8 +92,8 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen,
        htmlf("</td><td class='ls-size'>%li</td>", size);
 
        html("<td>");
-       cgit_log_link("L", "Log", "button", cgit_query_head, curr_rev,
-                     fullpath);
+       cgit_log_link("log", NULL, "button", cgit_query_head, curr_rev,
+                     fullpath, 0);
        html("</td></tr>\n");
        free(name);
        return 0;