Skip to content

Commit

Permalink
Merge pull request #938 from 18F/emp-recent
Browse files Browse the repository at this point in the history
Cleaning up the recent tock table template
  • Loading branch information
Joe Krzystan authored Dec 17, 2019
2 parents 2c21941 + 10e84d8 commit d63f0a9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions tock/tock/templates/employees/user_recent_tocks.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ <h2>Recent Tocks</h2>
<thead>
<th>Project</th>
{% for tc in recent_timecards %}
{{tc}}
<th><a
href={% url 'reports:ReportingPeriodUserDetailView'
reporting_period=tc.reporting_period.start_date
username=tc.user.username %}
>
{{tc.reporting_period.start_date}}
</a>
href={% url "reports:ReportingPeriodUserDetailView" reporting_period=tc.reporting_period.start_date username=tc.user.username %}>
{{tc.reporting_period.start_date}}
</a>
</th>
{% endfor %}
</thead>
Expand Down

0 comments on commit d63f0a9

Please sign in to comment.