From 58d5fbfb3e48e07829d0dbd03be749e7f48ae6b5 Mon Sep 17 00:00:00 2001
From: danielvincent <danielgrippi@gmail.com>
Date: Thu, 14 Oct 2010 10:26:06 -0700
Subject: [PATCH] moved invite link to account#edit on settings page.  changed
 text on person partial.

---
 Gemfile.lock                             |  8 ++++++++
 app/views/users/_account.haml            | 13 ++++++++++---
 app/views/users/_profile.haml            |  2 --
 public/stylesheets/application.css       |  4 ++--
 public/stylesheets/sass/application.sass |  4 ++--
 5 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/Gemfile.lock b/Gemfile.lock
index 41e0081305..01e6f46881 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -122,6 +122,7 @@ GEM
       selenium-webdriver (>= 0.0.3)
     childprocess (0.0.7)
       ffi (~> 0.6.3)
+    columnize (0.3.1)
     crack (0.1.8)
     cucumber (0.9.2)
       builder (~> 2.1.2)
@@ -162,6 +163,7 @@ GEM
     i18n (0.4.1)
     json (1.4.6)
     json_pure (1.4.6)
+    linecache (0.43)
     mail (2.2.7)
       activesupport (>= 2.3.6)
       mime-types
@@ -223,6 +225,11 @@ GEM
       rspec-expectations (= 2.0.0)
     rspec-rails (2.0.0)
       rspec (= 2.0.0)
+    ruby-debug (0.10.3)
+      columnize (>= 0.1)
+      ruby-debug-base (~> 0.10.3.0)
+    ruby-debug-base (0.10.3)
+      linecache (>= 0.3)
     rubyzip (0.9.4)
     selenium-webdriver (0.0.29)
       childprocess (>= 0.0.7)
@@ -280,6 +287,7 @@ DEPENDENCIES
   roxml!
   rspec (>= 2.0.0)
   rspec-rails (>= 2.0.0)
+  ruby-debug
   sprinkle!
   thin
   webmock
diff --git a/app/views/users/_account.haml b/app/views/users/_account.haml
index e6b1a7ff19..e76ae6cc68 100644
--- a/app/views/users/_account.haml
+++ b/app/views/users/_account.haml
@@ -5,8 +5,13 @@
 
 %h2 Account
 
-%h3 Change Password
+= link_to "invite friends", new_user_invitation_path(current_user)
+
+%br
+%br
+%br
 
+%h3 Change Password
 = form_for @user do |f|
   = f.error_messages
 
@@ -23,12 +28,14 @@
     = f.submit 'Change password'
 
 %h3 Export Data
-
 = link_to "download my xml", users_export_path, :class => "button"
 = link_to "download my photos", users_export_photos_path, :class => "button"
 
-%h3 Close Account
+%br
+%br
+%br
 
+%h3 Close Account
 = link_to "Close Account", current_user,
             :confirm => "Are you sure?", :method => :delete,
             :class => "button"
diff --git a/app/views/users/_profile.haml b/app/views/users/_profile.haml
index a9ea4ad4d8..cbb2b6d6a9 100644
--- a/app/views/users/_profile.haml
+++ b/app/views/users/_profile.haml
@@ -4,8 +4,6 @@
 
 
 %h2 Profile
-= link_to new_user_invitation_path(current_user)
-
 = form_for @user do |f|
   = f.error_messages
 
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 6bacdffbbe..0a5e462e8b 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -195,8 +195,8 @@ li.message {
       li.message .content .from a {
         font-weight: bold; }
     li.message .content div.info {
-      color: #444444;
-      font-size: 13px; }
+      color: #999999;
+      font-size: smaller; }
       li.message .content div.info a {
         color: #cccccc; }
       li.message .content div.info .time {
diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass
index c70992407e..52ef860d54 100644
--- a/public/stylesheets/sass/application.sass
+++ b/public/stylesheets/sass/application.sass
@@ -266,8 +266,8 @@ li.message
       :size 14px
 
     div.info
-      :color #444
-      :font-size 13px
+      :color #999
+      :font-size smaller
       a
         :color #ccc
       .time
-- 
GitLab