|
diff --git a/ui-refs.c b/ui-refs.c index 98738db..94ff6be 100644 --- a/ ui-refs.c+++ b/ ui-refs.c |
|
@@ -61,33 +61,33 @@ static int cmp_tag_age(const void *a, const void *b) |
61 | return cmp_age(r1date, r2date); |
61 | return cmp_age(r1date, r2date); |
62 | } |
62 | } |
63 | |
63 | |
64 | static int print_branch(struct refinfo *ref) |
64 | static int print_branch(struct refinfo *ref) |
65 | { |
65 | { |
66 | struct commitinfo *info = ref->commit; |
66 | struct commitinfo *info = ref->commit; |
67 | char *name = (char *)ref->refname; |
67 | char *name = (char *)ref->refname; |
68 | |
68 | |
69 | if (!info) |
69 | if (!info) |
70 | return 1; |
70 | return 1; |
71 | html("<tr><td>"); |
71 | html("<tr><td>"); |
72 | cgit_log_link(name, NULL, NULL, name, NULL, NULL, 0, NULL, NULL, |
72 | cgit_log_link(name, NULL, NULL, name, NULL, NULL, 0, NULL, NULL, |
73 | ctx.qry.showmsg); |
73 | ctx.qry.showmsg); |
74 | html("</td><td>"); |
74 | html("</td><td>"); |
75 | |
75 | |
76 | if (ref->object->type == OBJ_COMMIT) { |
76 | if (ref->object->type == OBJ_COMMIT) { |
77 | cgit_commit_link(info->subject, NULL, NULL, name, NULL, 0); |
77 | cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL, 0); |
78 | html("</td><td>"); |
78 | html("</td><td>"); |
79 | html_txt(info->author); |
79 | html_txt(info->author); |
80 | html("</td><td colspan='2'>"); |
80 | html("</td><td colspan='2'>"); |
81 | cgit_print_age(info->commit->date, -1, NULL); |
81 | cgit_print_age(info->commit->date, -1, NULL); |
82 | } else { |
82 | } else { |
83 | html("</td><td></td><td>"); |
83 | html("</td><td></td><td>"); |
84 | cgit_object_link(ref->object); |
84 | cgit_object_link(ref->object); |
85 | } |
85 | } |
86 | html("</td></tr>\n"); |
86 | html("</td></tr>\n"); |
87 | return 0; |
87 | return 0; |
88 | } |
88 | } |
89 | |
89 | |
90 | static void print_tag_header() |
90 | static void print_tag_header() |
91 | { |
91 | { |
92 | html("<tr class='nohover'><th class='left'>Tag</th>" |
92 | html("<tr class='nohover'><th class='left'>Tag</th>" |
93 | "<th class='left'>Download</th>" |
93 | "<th class='left'>Download</th>" |
|