diaspora/app/views/aspects/index.html.haml
2011-04-06 19:01:41 -07:00

39 lines
1.1 KiB
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
= include_javascripts :home
.span-15.append-2
#aspect_stream_container
= render 'aspect_stream',
:aspect => @aspect,
:aspect_ids => @aspect_ids,
:posts => @posts,
:fakes => @fakes
.span-7.last
#home_user_badge
= owner_image_link
%h3{:style => "position:relative;"}
= current_user.name
.description
= link_to current_user.diaspora_handle, person_path(current_user.person)
%h4.section.invite_friends
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet))
- if @invites > 0
.section.invite_friends
%h4= t('shared.invitations.invite_your_friends')
= render "shared/invitations", :invites => @invites
#aspect_listings.section
= render 'aspects/aspect_listings', :aspects => @aspects
- if @invites <= 0
.section.invite_friends
%h4= t('shared.invitations.invite_your_friends')
= render "shared/invitations", :invites => @invites