diaspora/app/views/aspects/_aspect_listings.haml
2011-01-19 15:54:49 -08:00

18 lines
521 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.
%h4
.right
= link_to t('contacts', :count => contacts.count), aspects_manage_path, :title => t('aspects.manage.manage_aspects')
= aspects.count
- if aspects.count == 1
= t('_aspect')
- else
= t('_aspects')
%ul
- for aspect in aspects
= render 'aspects/aspect', :aspect => aspect, :contacts => aspect.contacts.where(:pending => false)