commit af800df5a11beb2e4b8f519f7b5171a41095afb6 from: Omar Polo date: Tue Jan 10 15:33:02 2023 UTC gotwebd: use from/via in gotweb_render_commits too like the previous, show also the committer if different from the author. commit - 49632cd3b1c81b19229e3a4a523e411d29cd8827 commit + af800df5a11beb2e4b8f519f7b5171a41095afb6 blob - 3265456df058f025cd052df66cbffdcff9b45932 blob + fcc54710aa544a97e40088b703b7d4f15463c006 --- 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) }}