diaspora/app/views/users/getting_started.html.haml
2011-08-03 18:02:56 -07:00

111 lines
3.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-5.leftNavBar
#home_user_badge
= owner_image_link
%h3
= current_user.first_name
.section
= link_to "Get Started", getting_started_path
//.section
// = render 'aspects/aspect_listings'
//.section
// = render 'tags/followed_tags_listings'
.span-13.append-1
.stream_container
%h3
= "Welcome, #{current_user.first_name}!"
%ul#getting_started
%li.profile
.getting_started_number
%h4
1
.content
#getting_started_profile_photo
= person_image_link(current_user.person, :size => :thumb_medium)
%h4
Fill Out Your Profile
%p
Description of why you'd want to do this (or checks like g+)
.span-8.fields
- [:full_name, :image_url, :birthday, :gender, :bio, :location, :tag_string].each do |attr|
.span-4.last
= profile_field_tag(current_user.person.profile, attr)
#edit_profile_button_div
= link_to "Edit Profile", edit_profile_path, :class => "button"
%li.services
.getting_started_number
%h4
2
.content
%h4
Connect to your other social networks
#getting_started_service_icons
- AppConfig.configured_services.each do |service|
- unless current_user.services.any?{|x| x.provider == service}
= link_to(image_tag("social_media_logos/#{service.downcase}-48x48.png", :title => service.titleize), "/auth/#{service}")
%li
.getting_started_number
%h4
3
.content
%h4
Connect with people
#diaspora_hq_pane
- person = Person.first
= person_image_link(Person.first)
.add_to_aspect
= render :partial => 'people/relationship_action',
:locals => { :person => Person.first,
:contact => current_user.contact_for(Person.first),
:current_user => current_user }
.name
= person_link(person)
.info
Get updates about the project.
%li
.getting_started_number
%h4
4
.content
%h4
Follow your interests
%p
popular/curated tags? person's tags?
%li
.getting_started_number
%h4
5
.content
%h4
Connect to
= link_to "Cubbi.es", "http://cubbi.es/"
%p
= t('tokens.show.what_is_cubbies')
.cubbies_images
= image_tag '/images/cubbies_collage.png', :width => 422, :height => 159, :class => "cubbies_collage_small"
= image_tag '/images/cubbies_screenshot2.png', :height => 151, :width => 200, :class => "cubbies_user_page_small"
.span-5.rightBar.last
/= render 'selected_contacts', :people => @selected_people.sample(20), :count => @contact_count
/= render 'shared/right_sections'