Skip to content

Commit

Permalink
πŸ› Fix undefined attribute access
Browse files Browse the repository at this point in the history
  • Loading branch information
pajowu committed Oct 21, 2024
1 parent 762b0c3 commit e4d1a2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions froide/foirequest/templates/foirequest/body/timeline.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<div class="alpha-timeline__wrap">
{% for group in object.messages_by_month %}
<div class="alpha-timeline__item {% if group.show_overdue_message %}alpha-timeline__item--overdue{% endif %} {% if forloop.last %}alpha-timeline__item--last{% endif %}"
data-key="{{ group.start_date|date:'Y-m' }}">
data-key="{{ group.date|date:'Y-m' }}">
<a href="#{{ group.first_message_id }}"
class="alpha-timeline__link text-decoration-none">
<div class="alpha-timeline__month">{{ group.start_date|date:'F Y' }}</div>
<div class="alpha-timeline__month">{{ group.date|date:'F Y' }}</div>
<div>
{% spaceless %}
{% blocktrans count counter=group.messages|length %}
Expand Down

0 comments on commit e4d1a2f

Please sign in to comment.