DG IZ; reshare redirects to specific page
This commit is contained in:
parent
474cf77708
commit
b9be543ef6
4 changed files with 5 additions and 3 deletions
|
|
@ -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...
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -177,6 +177,7 @@ li.message {
|
|||
display: inline;
|
||||
position: relative; }
|
||||
.reshare_pane ul.reshare_box {
|
||||
width: 150px;
|
||||
display: none;
|
||||
z-index: 10;
|
||||
position: absolute;
|
||||
|
|
|
|||
|
|
@ -233,6 +233,7 @@ li.message
|
|||
:position relative
|
||||
|
||||
ul.reshare_box
|
||||
:width 150px
|
||||
:display none
|
||||
:z-index 10
|
||||
:position absolute
|
||||
|
|
|
|||
Loading…
Reference in a new issue