{% extends "site_base.html" %} {% load staticfiles %} {% load i18n %} {% load bootstrap_tags %} {% block head_title %}{% trans "Filter demo" %}{% endblock %} {% block extra_head %} {% endblock %} {% block body_class %}work{% endblock %} {% block body_base %}
{% include "_messages.html" %}
{% trans "Value Equation Bucket Filter demo" %}     {% trans "Start over" %}

Filter set: {{ filter_set }}, Context: {{ context_agent }}, Event type: {{ event_type }}, Pattern: {{ pattern }}

{% csrf_token %} {{ filter_form|as_bootstrap }}
{% if events %}

{{count }} {% trans "Events" %}

{% for event in events %} {% endfor %}
{% trans "Date" %} {% trans "Event Type" %} {% trans "From" %} {% trans "To" %} {% trans "What" %} {% trans "Process" %}
{{ event.event_date }} {{ event.event_type }} {{ event.from_agent }} {% comment %} {% if event.from_agent != event.to_agent %} {{ event.to_agent }} {% else %}   {% endif %} {% endcomment %} {{ event.to_agent }} {{ event.quantity }} {{ event.unit_of_quantity.abbrev }} {% trans "of" %} {{ event.resource_type }} {% if event.process %} {{ event.process.name }} {% endif %}
{% endif %}
{% endblock %} {% block extra_script %} {% endblock %} {% block extra_body %} {{ block.super }} {% endblock %}