|
|
|
@ -1157,15 +1157,14 @@ static void cgit_print_path_crumbs(char *path)
|
|
|
|
|
static void print_header(void)
|
|
|
|
|
{
|
|
|
|
|
if (ctx.repo) {
|
|
|
|
|
cgit_gopher_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
|
|
|
|
|
cgit_gopher_start_selector(GOPHER_INFO);
|
|
|
|
|
cgit_gopher_text("Repository: ");
|
|
|
|
|
cgit_gopher_index_link("repo list", NULL, NULL, NULL, NULL, 0, 1);
|
|
|
|
|
cgit_gopher_start_selector(GOPHER_MENU);
|
|
|
|
|
cgit_gopher_text(ctx.repo->name);
|
|
|
|
|
cgit_gopher_text(" (owned by ");
|
|
|
|
|
cgit_gopher_text(ctx.repo->owner);
|
|
|
|
|
cgit_gopher_text(")");
|
|
|
|
|
cgit_gopher_tab();
|
|
|
|
|
cgit_gopher_selector_link("Err");
|
|
|
|
|
cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
|
|
|
|
|
cgit_gopher_end_selector();
|
|
|
|
|
} else
|
|
|
|
|
cgit_gopher_info(ctx.cfg.root_title);
|
|
|
|
|