diaspora/app/views/aspects/index.html.haml

39 lines
1.2 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
/= render 'aspects/no_contacts_message', :aspect => @aspect, :contact_count => @contacts.count
#aspect_stream_container
= render 'aspect_stream',
:aspect => @aspect,
:aspect_ids => @aspect_ids,
:post_hashes => @post_hashes
.span-7.last
#home_user_badge
= owner_image_link
%h3{:style => "position:relative;display:inline-block;margin-left:12px;top:-8px;"}
= current_user.name
.description
= link_to current_user.diaspora_handle, person_path(current_user.person)
/= info_text(t('.handle_explanation'))
- if @request_count > 0
#new_request_pane{:class => "everyone"}
%h1.new_request{:style => 'text-align:center'}
= new_request_link(@request_count)
#left_pane
#aspect_listings.section
= render 'aspects/aspect_listings', :aspect_hashes => @aspect_hashes
.section
%h4= t('shared.invitations.invites')
= render "shared/invitations", :invites => @invites