Diff options
Diffstat (limited to 'source/ui-refs.c')
| -rw-r--r-- | source/ui-refs.c | 6 |
1 file changed, 4 insertions, 2 deletions
diff --git a/source/ui-refs.c b/source/ui-refs.c index 69a2cc1..5a1ebf8 100644 --- a/source/ui-refs.c +++ b/source/ui-refs.c @@ -211,9 +211,11 @@ static void print_tag_header(int columns) html( "<tbody class='tags'>\n" "<tr class='nohover'><th class='left' scope='col'>Tag</th>" - "<th class='left' scope='col'>Download</th>" - "<th class='left col-author' scope='col'>Author</th>" ); + // Without a snapshot format the column holds what each tag points at. + htmlf("<th class='left' scope='col'>%s</th>", + ctx.repo->snapshots ? "Download" : "Commit"); + html("<th class='left col-author' scope='col'>Author</th>"); htmlf("<th%s class='left' scope='col'>Age</th></tr>\n", age_colspan(columns)); } |
