{% extends 'base.html' %} {% block title %}Sessions{% endblock title %} {% block content %} {% if purchase %}

Listing sessions only for purchase "{{ purchase }}"

View all sessions
{% endif %}
Name
Start
End
Duration
Manage
{% for data in dataset %}
{{ data.purchase }}
{{ data.timestamp_start | date:"d/m/Y H:i" }}
{% if data.unfinished %} Not finished yet. {% elif data.duration_manual %} -- {% else %} {{ data.timestamp_end | date:"d/m/Y H:i" }} {% endif %}
{{ data.duration_formatted }}{% if data.duration_manual %} {% endif %}
{% if data.unfinished %} {% endif %}
{% endfor %}
{% endblock content %}