X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/1649afdc9b2febe9ab7e1abe1956c5dcaff93aa1..d85e8a9810cbfbe5cfe80509a7b47cb39483e6ac:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index 07c78a5..e719c1b 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -10,6 +10,7 @@ #include "ui-shared.h" #include "cmd.h" #include "html.h" +#include "version.h" static const char cgit_doctype[] = "\n"; @@ -545,7 +546,7 @@ void cgit_object_link(struct object *obj) page = "tag"; else page = "blob"; - name = fmt("%s %s...", typename(obj->type), shortrev); + name = fmt("%s %s...", type_name(obj->type), shortrev); reporevlink(page, name, NULL, NULL, ctx.qry.head, fullrev, NULL); } @@ -785,8 +786,8 @@ void cgit_print_docend(void) if (ctx.cfg.footer) html_include(ctx.cfg.footer); else { - htmlf("