From 2cee4a0b943762e2dd0935528d069a0667ee95b2 Mon Sep 17 00:00:00 2001 From: ilya Date: Fri, 23 Jul 2010 17:38:30 -0700 Subject: [PATCH] MS IZ removed weird people folder in root --- people/_sidebar.html.haml | 15 --------------- people/index.html.haml | 19 ------------------- people/new.html.haml | 27 --------------------------- people/show.html.haml | 29 ----------------------------- 4 files changed, 90 deletions(-) delete mode 100644 people/_sidebar.html.haml delete mode 100644 people/index.html.haml delete mode 100644 people/new.html.haml delete mode 100644 people/show.html.haml diff --git a/people/_sidebar.html.haml b/people/_sidebar.html.haml deleted file mode 100644 index 877db490e..000000000 --- a/people/_sidebar.html.haml +++ /dev/null @@ -1,15 +0,0 @@ -%ul#friend_stream.nav - - %h4 friends! - - for friend in @friends - %li= link_to friend.real_name, person_path(friend) - - %hr - %h4 on other networks! - - - for author in @subscribed_persons - %li= link_to author.username, author_path(author) - - %li= link_to "add a new person", new_request_path - - diff --git a/people/index.html.haml b/people/index.html.haml deleted file mode 100644 index efb46e644..000000000 --- a/people/index.html.haml +++ /dev/null @@ -1,19 +0,0 @@ -- title "People" - -%table - %tr - %th real name - %th email - %th url - - for person in @people - %tr - %td= person.real_name - %td= person.email - %td= person.url - %td= link_to 'Show', person - %td= link_to 'Destroy', person, :confirm => 'Are you sure?', :method => :delete - -%p= link_to "Add a friend", new_request_path - -#pagination - = will_paginate @people diff --git a/people/new.html.haml b/people/new.html.haml deleted file mode 100644 index e341d8629..000000000 --- a/people/new.html.haml +++ /dev/null @@ -1,27 +0,0 @@ -- title "New Person" - -= form_for @person do |f| - = f.error_messages - %p - = f.label :email - %br - = f.text_field :email - %p - = f.label :url - %br - = f.text_field :url - - =f.fields_for :profile do |p| - %p - = p.label :first_name - %br - = p.text_field :first_name - - %p - = p.label :last_name - %br - = p.text_field :last_name - = f.submit - - -%p= link_to "Back to List", people_path diff --git a/people/show.html.haml b/people/show.html.haml deleted file mode 100644 index ee0892315..000000000 --- a/people/show.html.haml +++ /dev/null @@ -1,29 +0,0 @@ -.span-20.last - %h1= "#{@person.real_name}" - = link_to 'remove friend', @person, :confirm => 'Are you sure?', :method => :delete -%p - %b Active? -%p - = @person.active -- if @person_profile - %p - %b First Name - %p - = @person_profile.first_name - %p - %b Last Name - %p - = @person_profile.last_name - %p - %b url - %p - = @person.url - -.span-20 - - if @person.posts - %h3 stream - %ul#stream - - for post in @person_posts - = render type_partial(post), :post => post - - else - %h3 no posts to display!