@@ 36,22 36,15 @@
<div class="row">
<div class="col-md-12">
<div class="event-list">
- {% if commits %}
- {% if commits[-1].parents %}
- {% set show_commits = commits[:-1] %}
- {% else %}
- {% set show_commits = commits %}
- {% endif %}
- {% for c in show_commits %}
+ {% for c in commits %}
<div class="event">
{{ utils.commit_event(repo, c, True, refs) }}
</div>
- {% endfor %}
{% else %}
<div class="event">
No commits{% if path != [''] %} for this path{% endif %}.
</div>
- {% endif %}
+ {% endfor %}
</div>
{% if commits and commits[-1].parents %}
<a