take out useless 'reshare'
This commit is contained in:
parent
86c06c4d15
commit
689bde2e5f
4 changed files with 1 additions and 88 deletions
|
|
@ -20,7 +20,7 @@
|
|||
#publisher_textarea_wrapper
|
||||
= link_to( image_tag('deletelabel.png'), "#", :id => "hide_publisher", :title => t('.discard_post'))
|
||||
%ul#photodropzone
|
||||
= status.text_area :fake_text, :rows => 2, :value => h(params[:prefill]), :tabindex => 1, :placeholder => t('.whats_on_your_mind')
|
||||
= status.text_area :fake_text, :rows => 2, :tabindex => 1, :placeholder => t('.whats_on_your_mind')
|
||||
= status.hidden_field :text, :value => '', :class => 'clear_on_submit'
|
||||
|
||||
#file-upload{:title => t('.upload_photos')}
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
-# Copyright (c) 2010, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
.reshare_pane
|
||||
%span.reshare_button
|
||||
= link_to t('.reshare'), "#"
|
||||
|
||||
%ul.reshare_box
|
||||
= aspect_links(aspects, :prefill => post.text)
|
||||
|
||||
|
|
@ -5,9 +5,6 @@
|
|||
.stream_element{:data=>{:guid=>post.id}}
|
||||
- if current_user && post.author.owner_id == current_user.id
|
||||
.right.controls
|
||||
- reshare_aspects = aspects_without_post(all_aspects, post)
|
||||
- unless reshare_aspects.empty?
|
||||
= render 'shared/reshare', :aspects => reshare_aspects, :post => post
|
||||
= link_to image_tag('deletelabel.png'), status_message_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete stream_element_delete", :title => t('delete')
|
||||
- else
|
||||
.right.controls
|
||||
|
|
|
|||
|
|
@ -489,79 +489,6 @@ ul.dropdown
|
|||
:decoration none
|
||||
:border none
|
||||
|
||||
.right .reshare_pane .reshare_button a.inactive
|
||||
:color #ccc
|
||||
&:hover
|
||||
:text
|
||||
:decoration none
|
||||
:cursor default
|
||||
|
||||
.right .reshare_pane .reshare_button
|
||||
:padding 2px
|
||||
&.active
|
||||
@include border-radius(5px)
|
||||
|
||||
:background
|
||||
:color #333
|
||||
a
|
||||
:color #fff
|
||||
:text-shadow none
|
||||
|
||||
.right .reshare_pane
|
||||
:margin
|
||||
:left 5px
|
||||
:right 5px
|
||||
:display inline
|
||||
:position relative
|
||||
|
||||
|
||||
ul.reshare_box
|
||||
:width 150px
|
||||
:display none
|
||||
:z-index 10
|
||||
:position absolute
|
||||
:margin
|
||||
:top 0
|
||||
:padding 0
|
||||
|
||||
:background
|
||||
:color #fafafa
|
||||
|
||||
:border 5px solid #333
|
||||
|
||||
:text-shadow 0 2px #fff
|
||||
:color #000
|
||||
|
||||
> li
|
||||
:font
|
||||
:weight bold
|
||||
:color #ccc
|
||||
:border
|
||||
:top 1px solid #fff
|
||||
:bottom 1px solid #ccc
|
||||
|
||||
&:first-child
|
||||
:border
|
||||
:top none
|
||||
&:last-child
|
||||
:border
|
||||
:bottom none
|
||||
a
|
||||
:display block
|
||||
:height 100%
|
||||
:padding 2px 5px
|
||||
:cursor default
|
||||
|
||||
&:hover
|
||||
:background
|
||||
:color #eee
|
||||
:text
|
||||
:decoration none
|
||||
&:active
|
||||
:background
|
||||
:color #ccc
|
||||
|
||||
|
||||
#user_name
|
||||
:margin
|
||||
:bottom 20px
|
||||
|
|
|
|||
Loading…
Reference in a new issue