diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html
index 2aafb91..ee90cb9 100644
--- a/pagure/templates/pull_request.html
+++ b/pagure/templates/pull_request.html
@@ -420,16 +420,13 @@
empty file added
{% else %}
- {% if patchtype == "added" %}
- {% if (patch| hasattr('line_stats') and patch.line_stats[1] > 1000)
- or (patch| hasattr('additions') and patch.additions > 1000) %}
+ {% if patchtype == "added" and linesadded > 1000 %}
The added file is too large to be shown here, see it at:
{{ viewfilelink(patch_new_file_path) }}
- {% endif %}
{% elif patchtype == "removed" %}