diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-12-21 07:31:59 -0800 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-12-21 07:31:59 -0800 |
commit | 185c09f98dc670881239ecd230e47fb2f214e53b (patch) | |
tree | 2c4dd549d06275540ec1f23e0c1e7787a49d3132 | |
parent | caec49ba154ff01d8a2ee943e93588ae458d8a7c (diff) |
Handle the case of a comment on an external request.
-rw-r--r-- | app/views/request/_request_listing_via_event.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/request/_request_listing_via_event.rhtml b/app/views/request/_request_listing_via_event.rhtml index ee1cc079a..2ba9613e5 100644 --- a/app/views/request/_request_listing_via_event.rhtml +++ b/app/views/request/_request_listing_via_event.rhtml @@ -25,7 +25,7 @@ end %> <%=event.display_status %> <%= _('by {{public_body_name}} to {{info_request_user}} on {{date}}.',:public_body_name=>public_body_link_absolute(info_request.public_body),:info_request_user=>request_user_link_absolute(info_request),:date=>simple_date(event.created_at )) %> <% elsif event.event_type == 'comment' %> - <%= _('Request to {{public_body_name}} by {{info_request_user}}. Annotated by {{event_comment_user}} on {{date}}.',:public_body_name=>public_body_link_absolute(info_request.public_body),:info_request_user=>user_link_absolute(info_request.user),:event_comment_user=>user_link_absolute(event.comment.user),:date=>simple_date(event.created_at)) %> + <%= _('Request to {{public_body_name}} by {{info_request_user}}. Annotated by {{event_comment_user}} on {{date}}.',:public_body_name=>public_body_link_absolute(info_request.public_body),:info_request_user=>request_user_link_absolute(info_request),:event_comment_user=>user_link_absolute(event.comment.user),:date=>simple_date(event.created_at)) %> <% else %> <%# Events of other types will not be indexed: see InfoRequestEvent#indexed_by_search? However, it can happen that we see other types of event transiently here in the period |