summaryrefslogtreecommitdiffabout
path: root/ui-shared.c
Side-by-side diff
Diffstat (limited to 'ui-shared.c') (more/less context) (show whitespace changes)
-rw-r--r--ui-shared.c21
1 files changed, 4 insertions, 17 deletions
diff --git a/ui-shared.c b/ui-shared.c
index bb08c4a..8a804c2 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -486,3 +486,3 @@ void cgit_print_pageheader(struct cgit_context *ctx)
html_attr(ctx->cfg.logo);
- html("'/></a></td>\n");
+ html("' alt='cgit logo'/></a></td>\n");
@@ -490,7 +490,2 @@ void cgit_print_pageheader(struct cgit_context *ctx)
if (ctx->repo) {
-/*
- html("<a href='");
- html_attr(cgit_rooturl());
- html("'>index</a> : ");
-*/
reporevlink(NULL, ctx->repo->name, NULL, hc(cmd, "summary"),
@@ -509,3 +504,3 @@ void cgit_print_pageheader(struct cgit_context *ctx)
html_txt(ctx->cfg.root_title);
- html("</td>\n");
+ html("</td></tr>\n");
@@ -515,8 +510,3 @@ void cgit_print_pageheader(struct cgit_context *ctx)
html_txt(ctx->repo->desc);
- }
-/*
- else if (ctx->cfg.root_subtitle)
- html_txt(ctx->cfg.root_subtitle);
-*/
- else {
+ } else {
html(">");
@@ -524,6 +514,3 @@ void cgit_print_pageheader(struct cgit_context *ctx)
}
- html("</td></tr>\n");
-
- html("</tr>\n");
- html("</table>\n");
+ html("</td></tr></table>\n");