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
|
= f.error_messages
|
||||||
%p
|
%p
|
||||||
%label{:for => "status_message_message"} Message
|
%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;"}
|
%ul.aspect_selector{ :style => "display:none;"}
|
||||||
going to...
|
going to...
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,9 @@
|
||||||
|
|
||||||
%ul.reshare_box
|
%ul.reshare_box
|
||||||
- for aspect in current_user.aspects_with_post( post.id )
|
- for aspect in current_user.aspects_with_post( post.id )
|
||||||
|
|
||||||
%li.currently_sharing= aspect.name
|
%li.currently_sharing= aspect.name
|
||||||
|
|
||||||
- for aspect in current_user.aspects
|
- for aspect in current_user.aspects
|
||||||
- unless aspect.posts.include? post
|
- 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;
|
display: inline;
|
||||||
position: relative; }
|
position: relative; }
|
||||||
.reshare_pane ul.reshare_box {
|
.reshare_pane ul.reshare_box {
|
||||||
|
width: 150px;
|
||||||
display: none;
|
display: none;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
||||||
|
|
@ -233,6 +233,7 @@ li.message
|
||||||
:position relative
|
:position relative
|
||||||
|
|
||||||
ul.reshare_box
|
ul.reshare_box
|
||||||
|
:width 150px
|
||||||
:display none
|
:display none
|
||||||
:z-index 10
|
:z-index 10
|
||||||
:position absolute
|
:position absolute
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue