diff --git a/pagure/static/koji.css b/pagure/static/koji.css
index 98b44fd..45aa44e 100644
--- a/pagure/static/koji.css
+++ b/pagure/static/koji.css
@@ -367,3 +367,15 @@ btn-group-vertical > .btn-group::after, .btn-group-vertical > .btn-group::before
margin-top:2em;
}
+.commit_message_body
+{
+ font-family: "Open Sans";
+ background: transparent;
+padding:0;
+}
+
+.card pre
+{
+margin-bottom:0;
+}
+
diff --git a/pagure/templates/commit.html b/pagure/templates/commit.html
index 24d6191..7598439 100644
--- a/pagure/templates/commit.html
+++ b/pagure/templates/commit.html
@@ -37,10 +37,10 @@
{% if commit.author| author2user == commit.committer| author2user %}
- Authored and Committed by {{ commit.author | author2user |safe }}
+ {{diff|count}} file{{'s' if diff|count > 1}} Authored and Committed by {{ commit.author | author2user |safe }}
{{commit.commit_time | humanize}}
{% else %}
- Authored by {{ commit.author | author2user |safe }}
+ {{diff|count}} file{{'s' if diff|count > 1}} Authored by {{ commit.author | author2user |safe }}
{{commit.commit_time | humanize}},
Committed by {{ commit.committer | author2user |safe }}
{{commit.commit_time | humanize}},
@@ -48,6 +48,42 @@
+
+
+
{% if splitted_message|length > 1 %}
{% for message in splitted_message %}
@@ -55,56 +91,12 @@
{% endfor %}
{% endif %}
+
-
-
- | Changes |
-
-
- {% for patch in diff %}
- -
- {% if patch | hasattr('new_file_path') %}
-
- {{ patch.new_file_path }}
-
- {% elif patch | hasattr('delta') %}
-
- {{ patch.delta.new_file.path }}
-
- {% endif %}
-
- {% if not patch.is_binary %}
- {% if patch | hasattr('additions') %}
- {% if (patch.additions + patch.deletions) %}
-
- {% if patch.additions > 0 %}+{{ patch.additions }}{% endif %}
- {% if patch.deletions > 0 %}-{{ patch.deletions }}{% endif %}
-
- {% endif %}
- {% else %}
- {% if (patch.line_stats[1] + patch.line_stats[2]) %}
-
- {% if patch.line_stats[1] > 0 %}+{{ patch.line_stats[1] }}{% endif %}
- {% if patch.line_stats[2] > 0 %}-{{ patch.line_stats[2] }}{% endif %}
-
- {% endif %}
- {% endif %}
- {% endif %}
-
- {{ patch.new_file_path }}
-
- {% endfor %}
-
- |
-
-
-
+{% set filecount = 0 %}
{% for patch in diff %}
-
+ {% set filecount = filecount + 1 %}
+