diaspora/app/views/aspects/_edit_aspect_pane.html.haml
Thomas R. Koll 869cbdf9e9 * Localizeable "Rename aspect" button
* Don't list emails_delivered if there are none yet
* Don't show drag_to_add button if there are no @remote_requests
2010-12-29 17:00:08 +01:00

23 lines
716 B
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 :aspects
#edit_aspect_pane
- if @contacts.count > 0
%h4= t('.add_existing')
= render 'shared/contact_list', :aspect_id => aspect.id, :contact_hashes => contacts, :manage => defined?(manage)
= render 'shared/add_contact', :aspect_id => aspect.id
%hr
= form_for aspect do |asp|
= asp.text_field :name, :value => aspect.name
= asp.submit t('.rename_aspect')
%hr
.big_buttons
= button_to t('.remove_aspect'), aspect, :method => "delete", :confirm => t('.confirm_remove_aspect')