diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-08-12 11:07:09 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-08-12 11:07:09 +0100 |
commit | a58a4b67f12175adf979a4ea444cd867b792be51 (patch) | |
tree | de36c8dceb173ae85b5c0adfcc50deb5e55a4c56 | |
parent | 554518eff4c5287f11ecf90db243aa00921a5667 (diff) | |
parent | e098e553c4268c5f599738b90651b55ff23496db (diff) |
Merge branch 'excerpt-args' into rails-3-develop
-rw-r--r-- | app/views/admin_general/index.html.erb | 2 | ||||
-rw-r--r-- | app/views/request/_sidebar_request_listing.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin_general/index.html.erb b/app/views/admin_general/index.html.erb index 2202663be..f29258162 100644 --- a/app/views/admin_general/index.html.erb +++ b/app/views/admin_general/index.html.erb @@ -39,7 +39,7 @@ <% if message.get_body_for_quoting.strip.size == 0 %> <%= link_to "(no body)", admin_request_show_raw_email_path(message.raw_email_id) %> <% else %> - <%= link_to excerpt(message.get_body_for_quoting, "", 60), admin_request_show_raw_email_path(message.raw_email_id) %> + <%= link_to excerpt(message.get_body_for_quoting, "", :radius => 60), admin_request_show_raw_email_path(message.raw_email_id) %> <% end %> </td> <td class="span2"> diff --git a/app/views/request/_sidebar_request_listing.html.erb b/app/views/request/_sidebar_request_listing.html.erb index ec5a5813d..64fe39341 100644 --- a/app/views/request/_sidebar_request_listing.html.erb +++ b/app/views/request/_sidebar_request_listing.html.erb @@ -4,7 +4,7 @@ <%= request_link(info_request) %> </span> <span class="desc"> - <%=h excerpt(info_request.initial_request_text, "", 100) %> + <%=h excerpt(info_request.initial_request_text, "", :radius => 100) %> </span> <span class="bottomline"> <strong> |