- html("</td></tr>\n");
- } else {
- if (!header)
- print_tag_header();
- html("<tr><td>");
- cgit_tag_link(name, NULL, NULL, ctx.qry.head, name);
- html("</td><td>");
- if (ctx.repo->snapshots && (ref->object->type == OBJ_COMMIT))
- print_tag_downloads(ctx.repo, name);
- else
- cgit_object_link(ref->object);
- html("</td><td>");
- if (ref->object->type == OBJ_COMMIT)
- html(ref->commit->author);
- html("</td><td colspan='2'>");
- if (ref->object->type == OBJ_COMMIT)
- cgit_print_age(ref->commit->commit->date, -1, NULL);
- html("</td></tr>\n");
+ } else if (ref->object->type == OBJ_COMMIT) {
+ cgit_print_age(ref->commit->commit->date, -1, NULL);