socketed posts now show up on home page. delete links are back in the stream.
This commit is contained in:
parent
546e7876d5
commit
c24150eca0
4 changed files with 7 additions and 3 deletions
|
|
@ -73,6 +73,8 @@
|
|||
|
||||
.clearfix
|
||||
|
||||
= render 'posts/debug'
|
||||
|
||||
%footer
|
||||
.container
|
||||
.brandon= t('.powered_by')
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
- for aspect in current_user.aspects_with_post( post.id )
|
||||
%li= link_to aspect.name, aspect
|
||||
|
||||
- if current_user.owns?(post)
|
||||
.right
|
||||
= render 'shared/reshare', :current_user => current_user, :post => post if post.is_a? StatusMessage
|
||||
= link_to t('delete'), object_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete"
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ processPerson: function(response){
|
|||
},
|
||||
|
||||
onPageForAspects: function(aspectIds){
|
||||
if(location.pathname == '/' && WebSocketReceiver.onPageOne()){
|
||||
if(location.pathname == '/aspects' && WebSocketReceiver.onPageOne()){
|
||||
return true
|
||||
}
|
||||
var found = false;
|
||||
|
|
|
|||
|
|
@ -407,7 +407,6 @@ li.message
|
|||
&:active
|
||||
:color #005D9C
|
||||
|
||||
|
||||
.right .reshare_pane .reshare_button a.inactive
|
||||
:color #ccc
|
||||
&:hover
|
||||
|
|
@ -668,6 +667,10 @@ li.message .from .right
|
|||
:text
|
||||
:decoration underline
|
||||
|
||||
li.message:hover
|
||||
.right
|
||||
:display inline
|
||||
|
||||
.request_buttons
|
||||
:position absolute
|
||||
:right 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue