diff options
| author | Christian Hesse <mail@eworm.de> | 2018-12-29 00:13:54 +0100 |
|---|---|---|
| committer | Christian Hesse <mail@eworm.de> | 2026-05-05 06:41:23 +0200 |
| commit | f1861553f3bfd48f4fc1559b23a5cc1b0cc7bda2 (patch) | |
| tree | a1a267c80aa5b009904dea79b688f6afbcc80dce /ui-tree.c | |
| parent | 8c1d1cd5dee361084e28e7561e903eb5fbf5a544 (diff) | |
| download | cgit-f1861553f3bfd48f4fc1559b23a5cc1b0cc7bda2.tar.gz cgit-f1861553f3bfd48f4fc1559b23a5cc1b0cc7bda2.tar.bz2 cgit-f1861553f3bfd48f4fc1559b23a5cc1b0cc7bda2.zip | |
ui-tree: provide link to about page for pretty formatting
We have an ongoing discussion about display filters and pretty
formatting in tree view. How about providing a link to about page
for pretty formatting?
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-tree.c')
| -rw-r--r-- | ui-tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -112,6 +112,9 @@ 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_about_link("about", NULL, NULL, ctx.qry.head, + rev, path); + html(") ("); cgit_plain_link("plain", NULL, NULL, ctx.qry.head, rev, path); if (ctx.repo->enable_blame && !is_binary) { |
