]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-summary.c
ui-summary: add "rel='vcs-git'" to clone URL links
[ps-cgit] / ui-summary.c
index 70ea908d8547b87c0865ab4890418913141ff435..46ca71349f8649369500a4f7e3304959acc674ab 100644 (file)
@@ -31,9 +31,11 @@ static void print_url(const char *url)
                htmlf("<tr><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");
 }