Skip to content
Extraits de code Groupes Projets
Valider c034113a rédigé par Raphael's avatar Raphael
Parcourir les fichiers

Refactor to aspect partial

parent 9891577f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
%li
%h4
= link_to aspect, aspect
%span
= t('contacts', :count => contact_count)
- if contact_count > 0
- for person in people
= person_image_link(person)
...@@ -45,15 +45,8 @@ ...@@ -45,15 +45,8 @@
%ul %ul
- for a_hash in @aspect_hashes - for a_hash in @aspect_hashes
%li = render :partial => 'aspects/aspect', :locals => a_hash
%h4
= link_to a_hash[:aspect], a_hash[:aspect]
%span
= t('contacts', :count=>a_hash[:contact_count])
- if a_hash[:contact_count] > 0
- for person in a_hash[:people]
= person_image_link(person)
.section .section
%h3= t('.invites') %h3= t('.invites')
= render "shared/invitations", :invites => @invites = render "shared/invitations", :invites => @invites
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter