]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
ui-atom: generate valid Atom feeds
[ps-cgit] / ui-shared.c
index acd8ab550d837b7928138808f572e282abda8468..fbf5a2d9dbe0bca892bd8f65071eac809c2667d2 100644 (file)
@@ -995,7 +995,7 @@ static void print_header(void)
        if (ctx.repo) {
                cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
                html(" : ");
        if (ctx.repo) {
                cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
                html(" : ");
-               cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
+               cgit_summary_link(ctx.repo->name, NULL, NULL, NULL);
                if (ctx.env.authenticated) {
                        html("</td><td class='form'>");
                        html("<form method='get'>\n");
                if (ctx.env.authenticated) {
                        html("</td><td class='form'>");
                        html("<form method='get'>\n");
@@ -1016,7 +1016,13 @@ static void print_header(void)
        if (ctx.repo) {
                html_txt(ctx.repo->desc);
                html("</td><td class='sub right'>");
        if (ctx.repo) {
                html_txt(ctx.repo->desc);
                html("</td><td class='sub right'>");
-               html_txt(ctx.repo->owner);
+               if (ctx.repo->owner_filter) {
+                       cgit_open_filter(ctx.repo->owner_filter);
+                       html_txt(ctx.repo->owner);
+                       cgit_close_filter(ctx.repo->owner_filter);
+               } else {
+                       html_txt(ctx.repo->owner);
+               }
        } else {
                if (ctx.cfg.root_desc)
                        html_txt(ctx.cfg.root_desc);
        } else {
                if (ctx.cfg.root_desc)
                        html_txt(ctx.cfg.root_desc);