diff options
Diffstat (limited to 'ui-tree.c')
-rw-r--r-- | ui-tree.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -108,7 +108,7 @@ static void print_object(const struct object_id *oid, const char *path, const ch cgit_print_layout_start(); htmlf("blob: %s (", oid_to_hex(oid)); - cgit_plain_link("plain", NULL, NULL, ctx.qry.head, + cgit_plain_link("Brute", NULL, NULL, ctx.qry.head, rev, path); if (ctx.repo->enable_blame) { html(") ("); @@ -240,17 +240,17 @@ static int ls_item(const struct object_id *oid, struct strbuf *base, htmlf("</td><td class='ls-size'>%li</td>", size); html("<td>"); - cgit_log_link("log", NULL, "button", ctx.qry.head, + cgit_log_link("Log", NULL, "button", ctx.qry.head, walk_tree_ctx->curr_rev, fullpath.buf, 0, NULL, NULL, ctx.qry.showmsg, 0); if (ctx.repo->max_stats) - cgit_stats_link("stats", NULL, "button", ctx.qry.head, + cgit_stats_link("Stats", NULL, "button", ctx.qry.head, fullpath.buf); if (!S_ISGITLINK(mode)) - cgit_plain_link("plain", NULL, "button", ctx.qry.head, + cgit_plain_link("Brute", NULL, "button", ctx.qry.head, walk_tree_ctx->curr_rev, fullpath.buf); if (!S_ISDIR(mode) && ctx.repo->enable_blame) - cgit_blame_link("blame", NULL, "button", ctx.qry.head, + cgit_blame_link("Blâme", NULL, "button", ctx.qry.head, walk_tree_ctx->curr_rev, fullpath.buf); html("</td></tr>\n"); free(name); |