Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Commit

Permalink
[bug 946736] Fix date links on responses in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
willkg committed Dec 12, 2013
1 parent c44b5e5 commit e16ce46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions fjord/analytics/templates/analytics/dashboard.html
Expand Up @@ -23,8 +23,7 @@
for all datetimes in PDT. #}
<li>
{% set created_date = to_date_string(feedback.created) %}
{% set created_dt = to_datetime_string(feedback.created) %}
<a href="{{ request.get_full_path()|urlparams(date_start=created_dt) }}">
<a href="{{ request.get_full_path()|urlparams(date_start=created_date, date_end=created_date) }}">
<time datetime="{{ created_date }}-08:00" title="{{ created_date }} PST">
{{ feedback.created|naturaltime }}
</time>
Expand Down
3 changes: 1 addition & 2 deletions fjord/analytics/templates/analytics/response.html
Expand Up @@ -34,8 +34,7 @@ <h2>{{ _('Response id: {id}')|f(id=response.id) }}</h2>
for all datetimes in PDT.
#}
{% set created_date = to_date_string(response.created) %}
{% set created_dt = to_datetime_string(response.created) %}
<a href="{{ url('dashboard')|urlparams(date_start=created_dt) }}">
<a href="{{ url('dashboard')|urlparams(date_start=created_date, date_end=created_date) }}">
<time datetime="{{ created_date }}-08:00" title="{{ created_date }} PST">
{{ response.created|naturaltime }}
</time>
Expand Down

0 comments on commit e16ce46

Please sign in to comment.