]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-tag.c
cgitrc.5: document new signature notes
[cgit.git] / ui-tag.c
index 909cde07d9f6dfdfdc67b865a0fe4493b7c419c5..2c96c37efc6cc7be4643b9ecbc5d6031755cf310 100644 (file)
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -34,8 +34,7 @@ static void print_tag_content(char *buf)
 static void print_download_links(char *revname)
 {
        html("<tr><th>download</th><td class='sha1'>");
 static void print_download_links(char *revname)
 {
        html("<tr><th>download</th><td class='sha1'>");
-       cgit_print_snapshot_links(ctx.qry.repo, ctx.qry.head,
-                                 revname, ctx.repo->snapshots);
+       cgit_print_snapshot_links(ctx.repo, revname, "<br/>");
        html("</td></tr>");
 }
 
        html("</td></tr>");
 }
 
@@ -107,7 +106,7 @@ void cgit_print_tag(char *revname)
                htmlf("<tr><td>tag name</td><td>");
                html_txt(revname);
                html("</td></tr>\n");
                htmlf("<tr><td>tag name</td><td>");
                html_txt(revname);
                html("</td></tr>\n");
-               html("<tr><td>Tagged object</td><td class='sha1'>");
+               html("<tr><td>tagged object</td><td class='sha1'>");
                cgit_object_link(obj);
                html("</td></tr>\n");
                if (ctx.repo->snapshots)
                cgit_object_link(obj);
                html("</td></tr>\n");
                if (ctx.repo->snapshots)