{% extends "site_base.html" %} {% load staticfiles %} {% load i18n %} {% load bootstrap_tags %} {% load thumbnail %} {% block head_title %}{% trans "Today" %}{% endblock %} {% block extra_head %} {% endblock %} {% block body_class %}work{% endblock %} {% block body_base %}
{% include "_messages.html" %}
{% trans "Today" %}

{% trans "Work in process today" %}

{% if context_agents %}
    {% for project, processes in context_agents.items %}
  • {% trans "Context" %}: {% if project %} {{ project.name }} {% else %} No project {% endif %}
    • {% for process in processes %}
    • {% include "valueaccounting/_process_for_sked.html" %}
    • {% endfor %}
    {% endfor %}
{% else %} None {% endif %}

{% trans "Todos due today" %}

{% if todos %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% for todo in todos %} {% if agent == todo.from_agent %} {% else %} {% endif %} {% comment %} {% endcomment %} {% comment %} {% endcomment %} {% if agent == todo.from_agent %} {% with todo.todo_event as event %} {% endwith %} {% endif %} {% endfor %}
{% trans "Due" %} {% trans "Who" %}   {% trans "What" %}  {% trans "Project" %}{% trans "Url" %}{% trans "Poster" %} 
{{ todo.due_date|date:"Y-m-d" }} {% if todo.from_agent %} Doer: {{ todo.from_agent }} {% else %} Doer:? {% endif %}
Poster: {{ todo.to_agent }}
{{ todo.description|urlize|linebreaks }} {{ todo.project }} {% if todo.url %} {% trans "Open" %} {% endif %} {{ todo.to_agent }} {% if agent == todo.from_agent %} {% if todo.is_deletable %} {% if agent != todo.to_agent %}
{% csrf_token %}
{% endif %} {% endif %} {% endif %} {% if agent == todo.to_agent %}
{% trans "Change" %} {% if todo.is_deletable %}
{% csrf_token %}
{% endif %}
{% csrf_token %}
{% csrf_token %}
{% else %} None {% endif %}

{% trans "Today's events" %}

{% if events %}
    {% for event in events %}
  • {% if event.does_todo %} Todo {% endif %} {{ event.event_type }} {{ event.doer }} {{ event.quantity }} {{ event.unit_of_quantity }} {{ event.resource_type }} {% if event.process %}
    {% trans "Process" %}: {{ event.process }}
    {% endif %} {% if event.resource %}
    {% trans "Resource" %}: {{ event.resource }}
    {% endif %} {% if event.does_todo %}
    {% trans "Todo" %}: {{ event.commitment.description|urlize }}
    {% endif %} {% if event.description %}
    {{ event.description|urlize|linebreaks }}
    {% endif %}
  • {% endfor %}
{% else %} None {% endif %}
{% endblock %}