aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 9d7ee3d..8a786e0 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -1133,6 +1133,13 @@ void cgit_print_snapshot_links(const struct cgit_repo *repo, const char *ref,
1133 strbuf_addstr(&filename, f->suffix); 1133 strbuf_addstr(&filename, f->suffix);
1134 cgit_snapshot_link(filename.buf, NULL, NULL, NULL, NULL, 1134 cgit_snapshot_link(filename.buf, NULL, NULL, NULL, NULL,
1135 filename.buf); 1135 filename.buf);
1136 if (cgit_snapshot_get_sig(ref, f)) {
1137 strbuf_addstr(&filename, ".asc");
1138 html(" (");
1139 cgit_snapshot_link("sig", NULL, NULL, NULL, NULL,
1140 filename.buf);
1141 html(")");
1142 }
1136 html(separator); 1143 html(separator);
1137 } 1144 }
1138 strbuf_release(&filename); 1145 strbuf_release(&filename);