fixed the css, added a space

This commit is contained in:
zhitomirskiyi 2011-03-16 19:20:24 -07:00
parent b0ec5a0b2e
commit 6a33ae7795
4 changed files with 19 additions and 8 deletions

View file

@ -7,13 +7,14 @@
$(".question_mark").tipsy({trigger: 'hover', gravity: 'w'});
});
#publisher
#publisher.mention_popup
#click_to_share
= image_tag 'icons/doc_edit.png'
%span= t('.whats_on_your_mind')
-unless aspect == :profile
= image_tag 'icons/doc_edit.png'
%span= t('.whats_on_your_mind')
= t('aspects', :count => aspect_ids.length)
= t('aspects', :count => aspect_ids.length)
.content_creation
= form_for(StatusMessage.new, :remote => true, :html => {"data-type" => "json"}) do |status|
@ -50,7 +51,7 @@
.public_toggle
%span#publisher_service_icons
- if aspect == :all
- if aspect == :all || :profile
= status.hidden_field( :public)
= image_tag "social_media_logos/feed-16x16.png", :title => "RSS", :class => 'public_icon dim'
- if current_user.services

View file

@ -10,13 +10,14 @@
{
var person = {name: '#{@person.name}', handle: '#{@person.diaspora_handle}' };
Publisher.autocompletion.onSelect($("#status_message_fake_text"),person,'#{@person.name}');
$("#publisher #status_message_fake_text").val(function(index, value){ return value + " " });
$("#publisher #status_message_submit.button").click(function(){$.facebox.close();});
});
#new_status_message_pane
.span-15
.span-15.last
#facebox_header
%h4
= t('mentioning') + @person.name
= t('.mentioning') + @person.name
= render :partial => 'shared/publisher', :locals => { :aspect => @aspect, :aspect_ids => @aspect_ids, :aspects_with_person => @aspects_with_person, :person => @person}

View file

@ -538,7 +538,7 @@ en:
cannot_remove: "Cannot remove person from last aspect. (If you want to disconnect from this person you must remove contact.)"
status_messages:
new_status_message:
new:
mentioning: "Mentioning: "
show:
destroy: "Delete"

View file

@ -848,6 +848,15 @@ label
:border
:bottom 2px #777 solid
&.mention_popup
:padding 1px 12px
:margin
:bottom 0
:border
:bottom none
&.closed
.options_and_submit
:display none !important