]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-summary.c
simple-authentication.lua: tie secure cookies to field names
[ps-cgit] / ui-summary.c
index 70ea908d8547b87c0865ab4890418913141ff435..fa5ba0423669bb9a00ee8fa3dcebb274c7e7076a 100644 (file)
@@ -28,12 +28,14 @@ static void print_url(const char *url)
 
        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("'>");
+       html("' title='");
+       html_attr(ctx.repo->name);
+       html(" Git repository'>");
        html_txt(url);
        html("</a></td></tr>\n");
 }