diaspora/app/views/people/_aspect_list.haml

20 lines
692 B
Text

-# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
- content_for :head do
=javascript_include_tag 'contact-list'
.aspects
/ TODO(*) add following method in contact
- if contact && contact.persisted?
.badges{:class => ("hidden" if !contact.persisted?)}
= aspect_badges(aspects_with_person, :link => true)
%p
= link_to t('.edit_membership'),
{:controller => "contacts",
:action => "edit",
:id => contact.id,
:person_id => person.id},
:class => 'button',
:rel => 'facebox'