{% extends "base.html" %} {% load utils %} {% load user_extras %} {% load static %} {% load i18n %} {% block title %} {% translate "Working hours of" %} {{ userprofile }} {% endblock %} {% block content %}
{% translate "Date" %} | {% translate "Reason" %} | {% translate "Hours" %} | {% translate "Action" %} |
---|---|---|---|
{% translate "Total" %} | {{ workhour_items.0|timedelta_in_hours }} {% translate "hours" %} | ||
{{ item.date|date:"SHORT_DATE_FORMAT" }} | {{ item.reason }} | {{ item.duration|timedelta_in_hours }} {% translate "hours" %} | {% if can_grant %} {% if item.type == "event" %} {% translate "View event" %} {% else %} {% translate "Edit" %} {% translate "Delete" %} {% endif %} {% endif %} |