X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/ff13396926f3352d9e29c0663154918297dc5af7..cbcdbcf2bff23113fe81df8f11fe7843b8ed637e:/ui-shared.c?ds=sidebyside diff --git a/ui-shared.c b/ui-shared.c index 5c5bcf3..45105dc 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -227,6 +227,12 @@ void cgit_commit_link(char *name, char *title, char *class, char *head, reporevlink("commit", name, title, class, head, rev, NULL); } +void cgit_refs_link(char *name, char *title, char *class, char *head, + char *rev, char *path) +{ + reporevlink("refs", name, title, class, head, rev, path); +} + void cgit_snapshot_link(char *name, char *title, char *class, char *head, char *rev, char *archivename) { @@ -411,9 +417,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("");