diff --git a/pagure/templates/commit.html b/pagure/templates/commit.html index 5ce976f..b52b680 100644 --- a/pagure/templates/commit.html +++ b/pagure/templates/commit.html @@ -58,13 +58,21 @@
{% if commit.author| author2user == commit.committer| author2user %} {{ diff|count}} file{{'s' if diff|count > 1 }} - Authored and Committed by {{ commit.author | author2user |safe }} + {% if commit.parents | length == 1 %} + Authored and Committed by {{ commit.author | author2user |safe }} + {% else %} + Merged and Committed by {{ commit.author | author2user |safe }} + {% endif %} {{ commit.commit_time | humanize }} {% else %} {{ diff|count}} file{{'s' if diff|count > 1 }} - Authored by {{ commit.author | author2user |safe }} + {% if commit.parents | length == 1 %} + Authored by {{ commit.author | author2user |safe }} + {% else %} + Merged by {{ commit.author | author2user |safe }} + {% endif %} {{ commit.commit_time | humanize }} ,