X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/ac1f493b6bbc589327e9ba3303f112fcd323c6b6..10ac7ad1f30f914dc5ff36ba3651ef6dca11aaf7:/ui-shared.c?ds=sidebyside diff --git a/ui-shared.c b/ui-shared.c index e4bb98f..1418010 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -272,6 +272,9 @@ void cgit_object_link(struct object *obj) } else if (obj->type == OBJ_TREE) { page = "tree"; arg = "id"; + } else if (obj->type == OBJ_TAG) { + page = "tag"; + arg = "id"; } else { page = "blob"; arg = "id"; @@ -417,9 +420,14 @@ void cgit_print_pageheader(char *title, int show_search) html_hidden("id", cgit_query_sha1); if (cgit_query_sha2) html_hidden("id2", cgit_query_sha2); - html(""); + html_option("grep", "log msg", cgit_query_grep); + html_option("author", "author", cgit_query_grep); + html_option("committer", "committer", cgit_query_grep); + html(""); + html(""); + html("'/>"); } html(""); html("");