Skip to content
Extraits de code Groupes Projets
Valider f70ade67 rédigé par Daniel Vincent Grippi's avatar Daniel Vincent Grippi
Parcourir les fichiers

DG IZ; moved info on the person show page

parent 5812bbd1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -7,6 +7,9 @@
= content_for :page_title do
= link_to "Albums", albums_path
- content_for :left_pane do
= render "shared/group_friends"
%h1.big_text
Albums
.right
......
......@@ -8,6 +8,9 @@
= content_for :page_title do
= link_to @album.name, @album
- content_for :left_pane do
= render "shared/group_friends"
.album_id{:id => @album.id, :style => "display:hidden;"}
......
- content_for :page_title do
Home
- content_for :left_pane do
= render "shared/group_friends"
%ul#stream
- for post in @posts
= render type_partial(post), :post => post unless post.class == Album
......
- content_for :page_title do
Home
- content_for :left_pane do
= render "shared/group_friends"
%ul#stream
- for post in @posts
= render type_partial(post), :post => post
......
......@@ -73,7 +73,8 @@
.container
.span-5.last
= render "shared/group_friends"
= yield :left_pane
.span-19.last
= yield
......
.span-20.last
#profile.span-19.last
- content_for :page_title do
= @person.real_name
- content_for :left_pane do
#profile
.profile_photo
= person_image_link(@person)
%h1
= @person.real_name
- if @person != current_user.person && current_user.friends.include?(@person)
.right
= link_to 'remove friend', @person, :confirm => 'Are you sure?', :method => :delete, :class => "button"
%ul
-unless @posts.first.nil?
%li
......@@ -22,19 +18,14 @@
= hidden_field_tag :from, :from, :value => @groups_with_person.first.id
= hidden_field_tag :friend_id, :friend_id, :value => @person.id
= submit_tag "save"
%li
url:
= @person.url
- unless @latest_status_message.nil?
%h1.pinched
%span
= "\"#{@latest_status_message.message}\""
%span="posted: #{how_long_ago(@latest_status_message)}"
- if @person != current_user.person && current_user.friends.include?(@person)
= link_to 'remove friend', @person, :confirm => 'Are you sure?', :method => :delete, :class => "button"
.span-20.last
.span-20.last
.span-19.last
- if @posts
%h3= "stream - #{@post_count} item(s)"
%ul#stream
- for post in @posts
= render type_partial(post), :post => post unless post.class == Album
......
......@@ -13,6 +13,9 @@
= content_for :page_title do
= link_to "Photo", @photo
- content_for :left_pane do
= render "shared/group_friends"
%h1.big_text
= @photo.image
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter