diaspora/app/views/aspects/index.html.haml
2011-05-21 14:52:59 -07:00

60 lines
1.6 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
.span-7.leftBar.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)
.section
.title
= image_tag('/images/icons/bookmark.png')
%h5
Diaspora Bookmarklet
.content
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet))
.section
.title
= image_tag('/images/icons/cubbies.png')
%h5
Connect to Cubbi.es
.content
Cubbi.es is the first Diaspora application under development.
= link_to "Follow the instructions to get started", token_path
- if @invites > 0
.section
.title
= image_tag('/images/icons/plus.png')
%h5
.right
= t('shared.invitations.invitations_left', :count => @invites)
= t('shared.invitations.invite_your_friends')
.content
= render "shared/invitations", :invites => @invites
%hr
#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