forked from expo/troggle
reformat template fragment
This commit is contained in:
parent
5c3927c25d
commit
5067ef2c8c
@ -89,12 +89,12 @@ Report this to a nerd if you think this is incorrect.
|
||||
{% endfor %}
|
||||
|
||||
{% for key, value in events.items %}
|
||||
<details {% if forloop.first %} open{% endif %}>
|
||||
<summary><b><a href="/expedition/{{key|date:"Y"}}">{{key|date:"Y"}}</a>{{key|date:"-m-d"}}</b> {{value.3}}</summary>
|
||||
{% with trips=value.0 svxothers=value.1 wallets=value.2 %}
|
||||
{% include 'onthisdate.html' %}
|
||||
{% endwith %}
|
||||
</details>
|
||||
{% with trips=value.0 svxothers=value.1 wallets=value.2 blocks=value.3 %}
|
||||
<details {% if forloop.first %} open{% endif %}>
|
||||
<summary><b><a href="/expedition/{{key|date:"Y"}}">{{key|date:"Y"}}</a>{{key|date:"-m-d"}}</b> {{blocks}}</summary>
|
||||
{% include 'onthisdate.html' %}
|
||||
{% endwith %}
|
||||
</details>
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user