64 lines
1.7 KiB
Text
64 lines
1.7 KiB
Text
-# Copyright (c) 2010, Diaspora Inc. This file is
|
|
-# licensed under the Affero General Public License version 3. See
|
|
-# the COPYRIGHT file.
|
|
|
|
|
|
- content_for :head do
|
|
= javascript_include_tag 'jquery-ui-1.8.4.custom.min.js'
|
|
= javascript_include_tag 'aspect-edit.js'
|
|
|
|
- content_for :left_pane do
|
|
%h1
|
|
Requests
|
|
|
|
.requests
|
|
%ul
|
|
- for request in @remote_requests
|
|
%li.requested_person{:id => request.person.id, :request_id => request.id}
|
|
= person_image_tag(request.person)
|
|
.name
|
|
= request.person.real_name
|
|
%h1
|
|
Ignore/Remove
|
|
|
|
%li.remove
|
|
%ul
|
|
|
|
- content_for :publish do
|
|
= link_to(t('.add_a_new_aspect'), "#add_aspect_pane", :id => "add_aspect_button", :class => "new_aspect button", :title => t('.add_a_new_aspect'))
|
|
|
|
|
|
|
|
%ul#aspect_list
|
|
- for aspect in @aspects
|
|
%li.aspect
|
|
|
|
.aspect_name
|
|
%h1{:contenteditable => true}= aspect.name
|
|
|
|
.tools
|
|
= link_to t('.add_a_new_friend'), "#add_request_pane_#{aspect.id}", :class => 'add_request_button'
|
|
|
|
|
= link_to t('.show'), aspect_path(aspect)
|
|
|
|
%ul{:id => aspect.id}
|
|
|
|
-if aspect.people.size < 1
|
|
%li.grey Drag to add people
|
|
|
|
-else
|
|
-for person in aspect.people
|
|
|
|
%li.person{:id => person.id, :from_aspect_id => aspect.id}
|
|
= person_image_tag(person)
|
|
.name
|
|
= person.real_name
|
|
.yo{:style => 'display:none'}
|
|
%div{:id => "add_request_pane_#{aspect.id}"}
|
|
= render "requests/new_request", :aspect => aspect
|
|
|
|
%p
|
|
%br
|
|
= link_to t('.update_aspects'), '#', :class => 'button', :id => "move_friends_link"
|
|
|
|
#content_bottom
|