commit 54ffadaf00bcf7065810251e5bc3e2200e6addd3 from: Omar Polo via: Thomas Adam date: Sat Jan 14 16:45:29 2023 UTC gotwebd: use from/via in gotweb_render_commits too like the previous, show also the committer if different from the author. commit - f7ee760463c69e0dd834e1c13f93229fe08822b3 commit + 54ffadaf00bcf7065810251e5bc3e2200e6addd3 blob - f6d6987c9e6d419dcfc760b4ddba5c5c9fde6c1f blob + 4afc4410fbc245708341a2e5bb77925a4ba0c6b6 --- gotwebd/pages.tmpl +++ gotwebd/pages.tmpl @@ -388,8 +388,12 @@ gotweb_render_age(struct template *tp, time_t time, in
Commit:
{{ rc->commit_id }}
-
Author:
+
From:
{{ rc->author }}
+ {{ if strcmp(rc->committer, rc->author) != 0 }} +
Via:
+
{{ rc->committer }}
+ {{ end }}
Date:
{{ render gotweb_render_age(tp, rc->committer_time, TM_LONG) }}