DG IZ; reshare redirects to specific page

This commit is contained in:
danielvincent 2010-09-22 15:32:11 -07:00
parent 474cf77708
commit b9be543ef6
4 changed files with 5 additions and 3 deletions

View file

@ -10,7 +10,7 @@
= f.error_messages
%p
%label{:for => "status_message_message"} Message
= f.text_area :message, :rows => 2
= f.text_area :message, :rows => 2, :value => params[:prefill]
%ul.aspect_selector{ :style => "display:none;"}
going to...

View file

@ -19,9 +19,9 @@
%ul.reshare_box
- for aspect in current_user.aspects_with_post( post.id )
%li.currently_sharing= aspect.name
- for aspect in current_user.aspects
- unless aspect.posts.include? post
%li.aspect_to_share= link_to aspect, repost_path( :id => post.id, :aspect_ids => aspect.id )
%li.aspect_to_share= link_to aspect, :controller => "aspects", :action => "show", :id => aspect.id, :prefill => post.message

View file

@ -177,6 +177,7 @@ li.message {
display: inline;
position: relative; }
.reshare_pane ul.reshare_box {
width: 150px;
display: none;
z-index: 10;
position: absolute;

View file

@ -233,6 +233,7 @@ li.message
:position relative
ul.reshare_box
:width 150px
:display none
:z-index 10
:position absolute