diaspora/app/views/aspects/_aspect_stream.haml
Maxwell Salzberg 234bb4cb56 Merge pull request #3302 from movilla/new_login
Translation new make something /stream [ci skip]
2012-05-29 11:45:24 -07:00

27 lines
1.1 KiB
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.
%h3#aspect_stream_header.stream_title
= stream.title
- if current_user.beta?
= link_to t('.make_something'), "#composer", :rel => "facebox", :class => "button primary", :style => "display: block; margin: 20px 10px; margin-bottom: 30px; padding: 10px; text-align:center; font-weight: bold;"
#composer{:style => "display:none;"}
%iframe{:src => '/posts/new', :height => 500, :width => 980, :style => "border:none;"}
- else
= render 'shared/publisher', :selected_aspects => stream.aspects, :aspect_ids => stream.aspect_ids, :for_all_aspects => stream.for_all_aspects?, :aspect => stream.aspect
= render 'aspects/no_posts_message'
- unless current_user.beta?
#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'