| -rw-r--r-- | ui-shared.c | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/ui-shared.c b/ui-shared.c index 8a804c2..bb08c4a 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -484,10 +484,15 @@ void cgit_print_pageheader(struct cgit_context *ctx) html_attr(cgit_rooturl()); html("'><img src='"); html_attr(ctx->cfg.logo); - html("' alt='cgit logo'/></a></td>\n"); + html("'/></a></td>\n"); html("<td class='main'>"); if (ctx->repo) { +/* + html("<a href='"); + html_attr(cgit_rooturl()); + html("'>index</a> : "); +*/ reporevlink(NULL, ctx->repo->name, NULL, hc(cmd, "summary"), ctx->qry.head, NULL, NULL); html(" : "); @@ -502,17 +507,25 @@ void cgit_print_pageheader(struct cgit_context *ctx) html("</form>"); } else html_txt(ctx->cfg.root_title); - html("</td></tr>\n"); + html("</td>\n"); html("<tr><td class='sub'"); if (ctx->repo) { html(" colspan='2'>"); html_txt(ctx->repo->desc); - } else { + } +/* + else if (ctx->cfg.root_subtitle) + html_txt(ctx->cfg.root_subtitle); +*/ + else { html(">"); html_txt("a fast webinterface for the git dscm"); } - html("</td></tr></table>\n"); + html("</td></tr>\n"); + + html("</tr>\n"); + html("</table>\n"); html("<table class='tabs'><tr><td>\n"); if (ctx->repo) { |