temp button instead of textbox for beta-limbo users
This commit is contained in:
parent
6e16a748e7
commit
34819b4128
3 changed files with 12 additions and 4 deletions
|
|
@ -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")
|
||||
};
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue