X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/98abe5bb9e6297a5dcbae206e00352c8630d922e..d85e8a9810cbfbe5cfe80509a7b47cb39483e6ac:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index 9d8f66b..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("