]> git.cameronkatri.com Git - cgit.git/commitdiff
ui-shared: show repo owner along with description
authorLars Hjemli <hjemli@gmail.com>
Sun, 27 Jul 2008 10:22:16 +0000 (12:22 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sun, 27 Jul 2008 10:22:16 +0000 (12:22 +0200)
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
ui-shared.c

index 6f83d2a772208c794eee360da531ae73d9913acb..209af6ee3acabfc77abc11dd641f2e5d09047ce7 100644 (file)
@@ -572,12 +572,12 @@ void cgit_print_pageheader(struct cgit_context *ctx)
                html_txt(ctx->cfg.root_title);
        html("</td></tr>\n");
 
-       html("<tr><td class='sub'");
+       html("<tr><td class='sub'>");
        if (ctx->repo) {
-               html(" colspan='2'>");
                html_txt(ctx->repo->desc);
+               html("</td><td class='sub right'>");
+               html_txt(ctx->repo->owner);
        } else {
-               html(">");
                if (ctx->cfg.root_desc)
                        html_txt(ctx->cfg.root_desc);
                else if (ctx->cfg.index_info)