From 03961bce7b70ee73fe3c16e5d7c325febc07bf0f Mon Sep 17 00:00:00 2001
From: danielvincent <danielgrippi@gmail.com>
Date: Sat, 4 Dec 2010 20:06:24 -0800
Subject: [PATCH] removed last reference to invitation fancybox

---
 app/views/aspects/_no_contacts_message.haml | 6 +-----
 app/views/aspects/index.html.haml           | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/app/views/aspects/_no_contacts_message.haml b/app/views/aspects/_no_contacts_message.haml
index 1581c739da..405aef83c9 100644
--- a/app/views/aspects/_no_contacts_message.haml
+++ b/app/views/aspects/_no_contacts_message.haml
@@ -5,11 +5,7 @@
 #no_contacts.floating.empty_message{:style => ("display:none" unless contact_count == 0)}
   - if aspect == :all
     %h3=t('.nobody')
-    %h4= link_to t('.add_contact'), aspects_manage_path
-    %h4= link_to t('.invite'), "#invite_user_pane", :class => "invite_user_button", :class => "invite_user_button", :title => t('.invite')
+    %h4= link_to t('.invite'), new_user_invitation_path
   - else
     %h3=t('.nobody_in_aspect', :aspect_name => aspect.name)
-    - if defined?(options) && options
-      %h4= link_to t('.add_contact_to', :aspect_name => aspect.name), "#manage_aspect_contacts_pane", :class => "manage_aspect_contacts_button"
-      %h4= link_to t('.invite', :aspect_name => aspect.name), "#invite_user_pane", :class => "invite_user_button", :class => "invite_user_button", :title => t('.invite')
 
diff --git a/app/views/aspects/index.html.haml b/app/views/aspects/index.html.haml
index 517bcc7cbe..2bb7512a29 100644
--- a/app/views/aspects/index.html.haml
+++ b/app/views/aspects/index.html.haml
@@ -11,8 +11,8 @@
         = info_text(t('.handle_explanation'))
 
 .span-15.append-1
-  = render 'aspects/no_contacts_message', :aspect => @aspect, :contact_count => @contacts.count
   = render 'shared/publisher', :aspect => @aspect
+  = render 'aspects/no_contacts_message', :aspect => @aspect, :contact_count => @contacts.count
   = render 'aspects/no_posts_message', :post_count => @post_hashes.length, :contact_count => @contacts.count
 
   = render 'shared/stream', :posts => @post_hashes
-- 
GitLab