SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
376b96ea
Commit
376b96ea
authored
6 years ago
by
Jorran de Wit
Browse files
Options
Downloads
Patches
Plain Diff
Pff.
parent
be7c407d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
finances/templates/finances/timesheets_detailed.html
+63
-0
63 additions, 0 deletions
finances/templates/finances/timesheets_detailed.html
with
63 additions
and
0 deletions
finances/templates/finances/timesheets_detailed.html
0 → 100644
+
63
−
0
View file @
376b96ea
{% extends 'finances/base.html' %}
{% block breadcrumb_items %}
{{ block.super }}
<a
href=
"{% url 'finances:timesheets' %}"
class=
"breadcrumb-item"
>
Team timesheets
</a>
<span
class=
"breadcrumb-item"
>
Detailed timesheets
</span>
{% endblock %}
{% block pagetitle %}: Team timesheets{% endblock pagetitle %}
{% load bootstrap %}
{% load scipost_extras %}
{% block content %}
<div
class=
"row"
>
<div
class=
"col-12"
>
<h1
class=
"highlight"
>
Detailed timesheets
</h1>
<form
method=
"get"
>
{{ form|bootstrap }}
<input
type=
"submit"
class=
"btn btn-primary"
value=
"Filter"
>
</form>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-12"
>
<h2
class=
"mb-2 mt-4"
>
Team timesheets
</h2>
{% for user_log in user_logs %}
<h4
class=
"mb-1"
>
{{ user_log.user.first_name }} {{ user_log.user.last_name }}
</h4>
<table
class=
"table"
>
<thead
class=
"thead-default"
>
<tr>
<th>
Date
</th>
<th>
Related to object
</th>
<th>
Log type
</th>
<th>
Comments
</th>
<th>
Duration
</th>
</tr>
</thead>
<tbody>
{% for log in user_log.logs %}
<tr>
<td>
{{ log.work_date }}
</td>
<td>
{{ log.content }}
</td>
<td>
{{ log.log_type }}
</td>
<td>
{{ log.comments }}
</td>
<td>
{{ log.duration|duration }}
</td>
</tr>
{% endfor %}
<tr>
<td
colspan=
"4"
class=
"text-right"
>
Total:
</td>
<td><strong>
{{ user_log.duration.total|duration }}
</strong></td>
</tr>
</tbody>
</table>
{% empty %}
<p>
No logs found.
</p>
{% endfor %}
</div>
</div>
{% endblock %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment