Unidiff1 files changed, 12 insertions, 0 deletions
|
diff --git a/ui-tag.c b/ui-tag.c index c2d72af..cd353c2 100644 --- a/ ui-tag.c+++ b/ ui-tag.c |
|
@@ -32,2 +32,10 @@ static void print_tag_content(char *buf) |
32 | |
32 | |
| |
33 | void print_download_links(char *revname) |
| |
34 | { |
| |
35 | html("<tr><th>download</th><td class='sha1'>"); |
| |
36 | cgit_print_snapshot_links(ctx.qry.repo, ctx.qry.head, |
| |
37 | revname, ctx.repo->snapshots); |
| |
38 | html("</td></tr>"); |
| |
39 | } |
| |
40 | |
33 | void cgit_print_tag(char *revname) |
41 | void cgit_print_tag(char *revname) |
@@ -78,2 +86,4 @@ void cgit_print_tag(char *revname) |
78 | html("</td></tr>\n"); |
86 | html("</td></tr>\n"); |
| |
87 | if (ctx.repo->snapshots) |
| |
88 | print_download_links(revname); |
79 | html("</table>\n"); |
89 | html("</table>\n"); |
@@ -88,2 +98,4 @@ void cgit_print_tag(char *revname) |
88 | html("</td></tr>\n"); |
98 | html("</td></tr>\n"); |
| |
99 | if (ctx.repo->snapshots) |
| |
100 | print_download_links(revname); |
89 | html("</table>\n"); |
101 | html("</table>\n"); |
|