Fix templates markup to prevent nesting of commit files diff blocks

Commit detail page improperly closes `.commit-diff` tags inside for-loop which results in diff blocks being nested within each other. This is best visible at large commits with lots of files and lots of changes - with increasing "indentation" from the left side as one scrolls down the long page.
This commit is contained in:
Lukas Stancik
2025-04-27 15:47:22 +00:00
parent a0d20db711
commit 943746aaca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -31,9 +31,9 @@ index {{file.oldid | truncate(length=7,end="")}}..{{file.newid | truncate(length
{%- endfor -%} {%- endfor -%}
</pre> </pre>
{% endfor -%} {% endfor -%}
</div>
<br/> <br/>
{% endfor -%} {% endfor -%}
{% endif -%} {% endif -%}
</div> </div>
</div>
{% endblock content %} {% endblock content %}
+1 -1
View File
@@ -31,9 +31,9 @@ index {{file.oldid | truncate(length=7,end="")}}..{{file.newid | truncate(length
{%- endfor -%} {%- endfor -%}
</pre> </pre>
{% endfor -%} {% endfor -%}
</div>
<br/> <br/>
{% endfor -%} {% endfor -%}
{% endif -%} {% endif -%}
</div> </div>
</div>
{% endblock content %} {% endblock content %}