diff --git a/app/assets/javascripts/app/pages/framer.js b/app/assets/javascripts/app/pages/framer.js index b6465405c..aab1e5c1e 100644 --- a/app/assets/javascripts/app/pages/framer.js +++ b/app/assets/javascripts/app/pages/framer.js @@ -59,5 +59,5 @@ app.views.framerControls = app.views.Base.extend({ //crazy hack for model publisher. function closeIFrame(){ - location.reload() + location = "/people/" + app.currentUser.get("guid") }; \ No newline at end of file diff --git a/app/views/aspects/_aspect_stream.haml b/app/views/aspects/_aspect_stream.haml index 13786de1d..40eba445a 100644 --- a/app/views/aspects/_aspect_stream.haml +++ b/app/views/aspects/_aspect_stream.haml @@ -5,10 +5,18 @@ %h3#aspect_stream_header.stream_title = stream.title -= render 'shared/publisher', :selected_aspects => stream.aspects, :aspect_ids => stream.aspect_ids, :for_all_aspects => stream.for_all_aspects?, :aspect => stream.aspect +- if current_user.beta? + = link_to "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 => 700, :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' -#gs-shim{:title => popover_with_close_html("3. #{t('.stay_updated')}"), 'data-content' => t('.stay_updated_explanation')} +- unless current_user.beta? + #gs-shim{:title => popover_with_close_html("3. #{t('.stay_updated')}"), 'data-content' => t('.stay_updated_explanation')} #main_stream.stream diff --git a/app/views/layouts/main_stream.html.haml b/app/views/layouts/main_stream.html.haml index 4aa30e9fd..e08963a1a 100644 --- a/app/views/layouts/main_stream.html.haml +++ b/app/views/layouts/main_stream.html.haml @@ -6,7 +6,7 @@ - content_for :head do = javascript_include_tag :home -- if current_user.getting_started? +- if current_user.getting_started? && !current_user.beta? #welcome-to-diaspora .container{:style => "position: relative;"} .right