From 6df5904e13555cbe8b08ccd4c9b7f38c479ad78a Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Wed, 2 Nov 2011 11:59:55 -0700 Subject: [PATCH] stop the catastrophic from happening" --- app/views/contacts/index.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/contacts/index.html.haml b/app/views/contacts/index.html.haml index 0d6732b67..b5fbfa00d 100644 --- a/app/views/contacts/index.html.haml +++ b/app/views/contacts/index.html.haml @@ -22,7 +22,8 @@ - conv_opts = { :class => "button conversation_button", :rel => "facebox"} - conv_opts[:title] = t('.many_people_are_you_sure', :suggested_limit => suggested_limit) if @contacts.size > suggested_limit - = link_to t('.start_a_conversation'), new_conversation_path(:aspect_id => @aspect.id, :name => @aspect.name), conv_opts + - if @contacts.size < 20 + = link_to t('.start_a_conversation'), new_conversation_path(:aspect_id => @aspect.id, :name => @aspect.name), conv_opts - if @contacts.size = link_to t('.add_to_aspect', :name => @aspect.name), edit_aspect_path(@aspect), :rel => "facebox"