diff options
author | Lukas Fleischer | 2013-03-05 15:42:14 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2013-03-20 21:08:32 +0100 |
commit | ef8a97d9c6983e4fc3710bdbe771edd4e3550dba (patch) | |
tree | 548ea4fda8fd0ed467895de2629ea3ea587143a1 /ui-refs.c | |
parent | 6d7e3596ebb387265d8cfdc5b312e0ea76da8c8a (diff) | |
download | cgit-ef8a97d9c6983e4fc3710bdbe771edd4e3550dba.tar.gz cgit-ef8a97d9c6983e4fc3710bdbe771edd4e3550dba.tar.bz2 cgit-ef8a97d9c6983e4fc3710bdbe771edd4e3550dba.zip |
Fix colspan values
This fixes a couple of minor oversights in previous commits and adjusts
all cells using colspan to use the correct width.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'ui-refs.c')
-rw-r--r-- | ui-refs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -177,7 +177,7 @@ static int print_tag(struct refinfo *ref) | |||
177 | 177 | ||
178 | static void print_refs_link(char *path) | 178 | static void print_refs_link(char *path) |
179 | { | 179 | { |
180 | html("<tr class='nohover'><td colspan='4'>"); | 180 | html("<tr class='nohover'><td colspan='5'>"); |
181 | cgit_refs_link("[...]", NULL, NULL, ctx.qry.head, NULL, path); | 181 | cgit_refs_link("[...]", NULL, NULL, ctx.qry.head, NULL, path); |
182 | html("</td></tr>"); | 182 | html("</td></tr>"); |
183 | } | 183 | } |
@@ -252,7 +252,7 @@ void cgit_print_refs() | |||
252 | cgit_print_tags(0); | 252 | cgit_print_tags(0); |
253 | else { | 253 | else { |
254 | cgit_print_branches(0); | 254 | cgit_print_branches(0); |
255 | html("<tr class='nohover'><td colspan='4'> </td></tr>"); | 255 | html("<tr class='nohover'><td colspan='5'> </td></tr>"); |
256 | cgit_print_tags(0); | 256 | cgit_print_tags(0); |
257 | } | 257 | } |
258 | html("</table>"); | 258 | html("</table>"); |