Don't show empty rectangle for hunk-less patches Confer the .builds/feebsd-latest.yml => .builds/freebsd-latest.yml in https://git.sr.ht/~nabijaczleweli/febug/commit/1a001bfdfbe08b155fd5a3e3ea178da8774634a8
1 files changed, 2 insertions(+), 2 deletions(-) M gitsrht/templates/utils.html
M gitsrht/templates/utils.html => gitsrht/templates/utils.html +2 -2
@@ 186,7 186,7 @@ endif %}{% endfor %} if patch.delta.old_file.mode != patch.delta.new_file.mode %}{# #}{# #}{% endif %}</pre> <div class="event diff"> {% if patch.hunks|length %}<div class="event diff"> <pre>{% for hunk in patch.hunks %} {% set hunk_index = loop.index %}<strong @@ class="text-info" 227,6 227,6 @@ endif %}{% endfor %} >{{line.origin}}</a>{{line.content}}{# #}</span>{% endfor %} {% endfor %}</pre> </div> </div>{% endif %} {% endfor %} {% endmacro %}