temp button instead of textbox for beta-limbo users

This commit is contained in:
danielgrippi 2012-05-07 15:40:13 -07:00
parent 6e16a748e7
commit 34819b4128
3 changed files with 12 additions and 4 deletions

View file

@ -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")
};

View file

@ -5,9 +5,17 @@
%h3#aspect_stream_header.stream_title
= stream.title
- 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'
- unless current_user.beta?
#gs-shim{:title => popover_with_close_html("3. #{t('.stay_updated')}"), 'data-content' => t('.stay_updated_explanation')}
#main_stream.stream

View file

@ -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