Skip to content

Commit 315d684

Browse files
committed
Fix current month highlight in network coincidences page
1 parent d7d1c86 commit 315d684

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

publicdb/status_display/templates/status_display/network_coincidences.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ <h3>Station {{ station_number }}: Singles (per second above low threshold)</h3>
120120
{% for month in month_list %}
121121
<li>
122122
{% if month.link %}
123-
<a {% if date.month == month.month %}class='currentDate'{% endif %} href="{{ month.link }}">{{ month.month }}</a>
123+
<a {% if date.month == forloop.counter %}class='currentDate'{% endif %} href="{{ month.link }}">{{ month.month }}</a>
124124
{% else %}
125125
<span class="nolink">{{ month.month }}</span>
126126
{% endif %}

0 commit comments

Comments
 (0)