Skip to content

Commit 792c12c

Browse files
committed
fix: #319 include email in reports table
1 parent 960f999 commit 792c12c

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

src/app/modules/reports/components/time-entries-table/time-entries-table.component.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,29 @@
33
<table class="table table-sm table-striped" datatable [dtTrigger]="dtTrigger" [dtOptions]="dtOptions">
44
<thead class="thead-blue">
55
<tr class="d-flex">
6+
<th class="col md-col">User email</th>
67
<th class="col md-col">Date</th>
78
<th class="col sm-col">Duration</th>
89
<th class="col md-col">Project</th>
9-
<th class="col md-col">Activity</th>
10-
<th class="col md-col">Ticket</th>
11-
<th class="col lg-col">Description</th>
12-
<th class="col lg-col">Technologies</th>
10+
<th class="col sm-col">Activity</th>
11+
<th class="col sm-col">Ticket</th>
12+
<th class="col md-col">Description</th>
13+
<th class="col md-col">Technologies</th>
1314
</tr>
1415
</thead>
1516
<tbody>
1617
<tr
1718
class="d-flex"
1819
*ngFor="let entry of data"
1920
>
21+
<td class="col md-col multiline-col"> {{ entry.owner_email }} </td>
2022
<td class="col md-col"> {{ entry.start_date | date: 'dd/MM/yyyy' }} </td>
2123
<td class="col sm-col"> {{ entry.end_date | substractDate: entry.start_date }} </td>
2224
<td class="col md-col"> {{ entry.project_name }} </td>
23-
<td class="col md-col"> {{ entry.activity_name }} </td>
24-
<td class="col md-col"> {{ entry.uri }} </td>
25-
<td class="col lg-col multiline-col"> {{ entry.description }} </td>
26-
<td class="col lg-col multiline-col"> {{ entry.technologies }} </td>
25+
<td class="col sm-col"> {{ entry.activity_name }} </td>
26+
<td class="col sm-col"> {{ entry.uri }} </td>
27+
<td class="col md-col multiline-col"> {{ entry.description }} </td>
28+
<td class="col md-col multiline-col"> {{ entry.technologies }} </td>
2729
</tr>
2830
</tbody>
2931
</table>

src/app/modules/shared/models/entry.model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export interface Entry {
77
comments?: string;
88
uri?: string;
99
project_id?: string;
10+
owner_email?: string;
1011
}
1112

1213
export interface NewEntry {

0 commit comments

Comments
 (0)