diaspora/app/views/aspects/_aspect_stream.haml
Florian Staudacher 0092c9c483 * create a handlebars view for the profile header
* unblock the user via ajax
2014-09-15 01:37:23 +02:00

31 lines
883 B
Text

-# Copyright (c) 2010-2011, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
- if user_signed_in? && @person != current_user.person
%h3#aspect_stream_header.stream_title
= stream.title
- aspects = current_user.aspects
- aspect = aspects.first
- aspect_ids = aspects.map { |a| a.id }
- if stream
- aspects = stream.aspects
- aspect = stream.aspect
- aspect_ids = stream.aspect_ids
= render 'publisher/publisher',
selected_aspects: aspects,
aspect_ids: aspect_ids,
aspect: aspect
= render 'aspects/no_posts_message'
#gs-shim{:title => popover_with_close_html("3. #{t('.stay_updated')}"), 'data-content' => t('.stay_updated_explanation')}
#main_stream.stream
#paginate
%span.loader.hidden
- if current_user.contacts.size < 2
= render 'aspects/no_contacts_message'