Skip to content
Extraits de code Groupes Projets
Valider d73da263 rédigé par Steffen van Bergerem's avatar Steffen van Bergerem
Parcourir les fichiers

Unify profile sidebar

parent eea3818c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -461,6 +461,15 @@ form.new_comment ...@@ -461,6 +461,15 @@ form.new_comment
h4 h4
:font-weight bold :font-weight bold
#image_list
.section
:margin
:bottom 4px
img
:height 45px
:width 45px
#sharing_message #sharing_message
:font-size smaller :font-size smaller
:align middle :align middle
...@@ -1883,15 +1892,6 @@ h1.tag ...@@ -1883,15 +1892,6 @@ h1.tag
.hover_edit .hover_edit
:display inline :display inline
#contacts_of_contact
.section
:margin
:bottom 4px
.avatar
:height 45px
:width 45px
.date .date
:background :background
:color #e6e6e6 :color #e6e6e6
......
...@@ -45,22 +45,22 @@ ...@@ -45,22 +45,22 @@
=t('.born') =t('.born')
= birthday_format(person.birthday) = birthday_format(person.birthday)
- if @photos.present? - if @photos.present?
%li %li#image_list
%h4 %h4
= t('.photos') = t('.photos')
.item_count .item_count
= "#{@photos.count}" = "#{@photos.count}"
- @photos.limit(3).each do |photo| - @photos.limit(8).each do |photo|
= image_tag(photo.url(:thumb_small)) = image_tag(photo.url(:thumb_small))
%br %br
= link_to t('layouts.header.view_all'), person_photos_path(person) = link_to t('layouts.header.view_all'), person_photos_path(person)
- if person == current_user.person - if person == current_user.person
%li#contacts_of_contact %li#image_list
%h4 %h4
= t('_contacts') = t('_contacts')
.item_count .item_count
= my_contacts_count = all_contacts_count
.section.contact_pictures .section.contact_pictures
- current_user.contacts.limit(8).each do |contact| - current_user.contacts.limit(8).each do |contact|
= person_image_link contact.person, :size => :thumb_small = person_image_link contact.person, :size => :thumb_small
......
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