diff --git a/Resources/views/view/timesheet.html.twig b/Resources/views/view/timesheet.html.twig index f55ffb8..b32684b 100644 --- a/Resources/views/view/timesheet.html.twig +++ b/Resources/views/view/timesheet.html.twig @@ -34,7 +34,7 @@
1 %}href="{{ app.request.pathinfo }}?year={{ year }}&month={{ month - 1 }}{% if detailsMode != 'table' %}&details={{ detailsMode }}{% endif %}"{% endif %}> + {% if month > 1 %}href="{{ url('view_shared_project_timesheets', {projectId: sharedProject.project.id, shareKey: sharedProject.shareKey}) }}?year={{ year }}&month={{ month - 1 }}{% if detailsMode != 'table' %}&details={{ detailsMode }}{% endif %}"{% endif %}>
@@ -47,21 +47,21 @@
+ {% if month < 12 %}href="{{ url('view_shared_project_timesheets', {projectId: sharedProject.project.id, shareKey: sharedProject.shareKey}) }}?year={{ year }}&month={{ month + 1 }}{% if detailsMode != 'table' %}&details={{ detailsMode }}{% endif %}"{% endif %}>
- +
@@ -74,13 +74,13 @@
- +
@@ -108,11 +108,11 @@

{{ 'shared_project_timesheets.view.table.title' | trans }}

{% if monthlyChartVisible %}
- + {{ 'shared_project_timesheets.view.details.table' | trans }} - + {{ 'shared_project_timesheets.view.details.chart' | trans }} @@ -184,4 +184,4 @@ {% endif %}
-{% endblock %} \ No newline at end of file +{% endblock %}