diff --git a/progit/templates/pull_request.html b/progit/templates/pull_request.html index 511f335..47bbee4 100644 --- a/progit/templates/pull_request.html +++ b/progit/templates/pull_request.html @@ -155,7 +155,7 @@ {% for patch in diff %}
  • - {% if not patch.is_binary %} + {% if (patch.additions + patch.deletions) %} {% if patch.additions > 0 %}+{{ patch.additions }}{% endif %} {% if patch.deletions > 0 %}-{{ patch.deletions }}{% endif %} @@ -176,7 +176,7 @@

    {{ patch.new_file_path }}

    • - {% if not patch.is_binary %} + {% if (patch.additions + patch.deletions) %} {% if patch.additions > 0 %}+{{ patch.additions }}{% endif %} {% if patch.deletions > 0 %}-{{ patch.deletions }}{% endif %}