X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9043b46f85eb43c918a172663af34c084587bd1a..1b1bf635b59a349a9238a1d63a21d03d9949e185:/ui-atom.c?ds=sidebyside diff --git a/ui-atom.c b/ui-atom.c index 5c854c7..b218456 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -24,7 +24,7 @@ void add_entry(struct commit *commit, char *host) html_txt(info->subject); html("\n"); html(""); - cgit_print_date(info->author_date, FMT_ATOMDATE, 0); + cgit_print_date(info->committer_date, FMT_ATOMDATE, 0); html("\n"); html("\n"); if (info->author) { @@ -111,6 +111,14 @@ void cgit_print_atom(char *tip, char *path, int max_count) html("\n"); html(""); html_txt(ctx.repo->name); + if (path) { + html("/"); + html_txt(path); + } + if (tip && !ctx.qry.show_all) { + html(", branch "); + html_txt(tip); + } html("\n"); html(""); html_txt(ctx.repo->desc);