diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html
index 800b175..63442c2 100644
--- a/pagure/templates/pull_request.html
+++ b/pagure/templates/pull_request.html
@@ -450,15 +450,20 @@
{%- endif -%}
{%- elif patch | hasattr('delta') -%}
{%- if patch.delta.new_file.path == patch.delta.old_file.path -%}
- {%- if patch.delta.new_file.mode == 0 and patch.delta.old_file.mode == 33188 -%}
+ {%- if patch.delta.new_file.mode == 0
+ and patch.delta.old_file.mode in [33188, 33261] -%}
{% set patchtype = "removed"%}
{{viewfilelink(patch.delta.new_file.path)}} {{lineschanged(False, True)}}
file removed
- {%-elif patch.delta.new_file.mode == 33188 and patch.delta.old_file.mode == 0 -%}
+
+ {%-elif patch.delta.new_file.mode in [33188, 33261]
+ and patch.delta.old_file.mode == 0 -%}
{% set patchtype = "added"%}
{{viewfilelink(patch.delta.new_file.path)}} {{lineschanged(True, False)}}
file added
- {%-elif patch.delta.new_file.mode == 33188 and patch.delta.old_file.mode == 33188 -%}
+
+ {%-elif patch.delta.new_file.mode in [33188, 33261]
+ and patch.delta.old_file.mode in [33188, 33261] -%}
{% set patchtype = "changed"%}
{{ viewfilelink(patch.delta.new_file.path)}} {{lineschanged(True, True)}}