diff options
author | francis <francis> | 2008-09-24 17:42:25 +0000 |
---|---|---|
committer | francis <francis> | 2008-09-24 17:42:25 +0000 |
commit | 9236681f1abcf192fc5fa33491b572b526c498fb (patch) | |
tree | c8f2e05067689bf5fdd9d3349f094a6f1dfebe7b | |
parent | 4b292a7f02e423800ff77bb145ed139f2a665c20 (diff) |
Improve wording for annotations in search results.
-rw-r--r-- | app/views/request/_request_listing_via_event.rhtml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/app/views/request/_request_listing_via_event.rhtml b/app/views/request/_request_listing_via_event.rhtml index 93dc2e625..dccb596c9 100644 --- a/app/views/request/_request_listing_via_event.rhtml +++ b/app/views/request/_request_listing_via_event.rhtml @@ -27,9 +27,11 @@ end %> <% if event.event_type == 'sent' %> Request sent to <%= public_body_link(info_request.public_body) %> by <%= user_link(info_request.user) %> + on <%= simple_date(event.created_at) %>. <% elsif event.event_type == 'followup_sent' %> Follow up sent to <%= public_body_link(info_request.public_body) %> by <%= user_link(info_request.user) %> + on <%= simple_date(event.created_at) %>. <% elsif event.event_type == 'response' %> <% if event.calculated_state.nil? %> Response @@ -38,14 +40,15 @@ end %> <% end %> by <%= public_body_link(info_request.public_body) %> to <%= user_link(info_request.user) %> + on <%= simple_date(event.created_at) %>. <% elsif event.event_type == 'comment' %> - Annotation by <%= user_link(event.comment.user) %> - on request to <%= public_body_link(info_request.public_body) %> - by <%= user_link(info_request.user) %> + Request to <%= public_body_link(info_request.public_body) %> + by <%= user_link(info_request.user) %>. + Annotated by <%= user_link(event.comment.user) %> + on <%= simple_date(event.created_at) %>. <% else %> <% raise "unknown event type indexed " + event.event_type %> <% end %> - on <%= simple_date(event.created_at) %>. </span> </div> |