]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-summary.c
log: allow users to follow a file
[ps-cgit] / ui-summary.c
index 70ea908d8547b87c0865ab4890418913141ff435..b0af0737a14762a808428829342ec42c3e6e743b 100644 (file)
@@ -28,17 +28,19 @@ static void print_url(const char *url)
 
        if (urls++ == 0) {
                htmlf("<tr class='nohover'><td colspan='%d'>&nbsp;</td></tr>", columns);
 
        if (urls++ == 0) {
                htmlf("<tr class='nohover'><td colspan='%d'>&nbsp;</td></tr>", columns);
-               htmlf("<tr><th class='left' colspan='%d'>Clone</th></tr>\n", columns);
+               htmlf("<tr class='nohover'><th class='left' colspan='%d'>Clone</th></tr>\n", columns);
        }
 
        }
 
-       htmlf("<tr><td colspan='%d'><a href='", columns);
+       htmlf("<tr><td colspan='%d'><a rel='vcs-git' href='", columns);
        html_url_path(url);
        html_url_path(url);
-       html("'>");
+       html("' title='");
+       html_attr(ctx.repo->name);
+       html(" Git repository'>");
        html_txt(url);
        html("</a></td></tr>\n");
 }
 
        html_txt(url);
        html("</a></td></tr>\n");
 }
 
-void cgit_print_summary()
+void cgit_print_summary(void)
 {
        int columns = 3;
 
 {
        int columns = 3;