]> git.parisson.com Git - mezzo.git/blob
78aba877789fb601423cb8521e11db5f838a87e7
[mezzo.git] /
1 {% extends "vertigo_starts_eu/pages/page.html" %}
2 {% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
3
4 {% block meta_title %}{% trans "Timesheet" %}{% endblock %}
5
6 {% block page_class %}
7 time_sheet
8 {% endblock %}
9
10 {% block page_title %}
11 <h1 class="dotted">{% trans "Timesheet" %}</h1>
12 {% endblock %}
13
14 {% block page_content %}
15
16 <a class="pull-right button button--black" href="{% url 'organization-network-timesheet-create-view' slug current_year current_month %}" title="">Declare this month</a>
17 {{ timesheets_by_project }}
18 {% if timesheets_by_year %}
19 {% for year_k, year_v in timesheets_by_year.items %}
20 <h2>{{ year_k }}</h2>
21 {% for project_k, project_v in year_v.items %}
22 <h3>{{ project_k }}</h3>
23 <table>
24 <tr>
25 {% for timesheet in project_v %}
26 <td>
27 {% include "network/person_activity_timesheet/includes/person_activity_timesheet_inline.html" %}
28 </td>
29 {% endfor %}
30 </tr>
31 </table>
32 {% endfor %}
33 {% endfor %}
34
35 {% else %}
36
37 <p>{% trans "No timesheet." %}</p>
38
39 {% endif %}
40
41 {% endblock %}