fix tab order in publisher; removed 'to mention...' text
This commit is contained in:
parent
2b8b824230
commit
fe44ee8230
2 changed files with 5 additions and 8 deletions
|
|
@ -28,31 +28,29 @@
|
||||||
%params
|
%params
|
||||||
#publisher_textarea_wrapper
|
#publisher_textarea_wrapper
|
||||||
%ul#photodropzone
|
%ul#photodropzone
|
||||||
= status.text_area :fake_text, :rows => 2, :value => h(params[:prefill])
|
= status.text_area :fake_text, :rows => 2, :value => h(params[:prefill]), :tabindex => 1
|
||||||
= status.hidden_field :text, :value => '', :class => 'clear_on_submit'
|
= status.hidden_field :text, :value => '', :class => 'clear_on_submit'
|
||||||
|
|
||||||
- for aspect_id in aspect_ids
|
- for aspect_id in aspect_ids
|
||||||
= hidden_field_tag 'aspect_ids[]', aspect_id.to_s
|
= hidden_field_tag 'aspect_ids[]', aspect_id.to_s
|
||||||
|
|
||||||
.options_and_submit
|
.options_and_submit
|
||||||
.mention_helper
|
- if aspect == :profile
|
||||||
- if aspect != :profile
|
.mention_helper
|
||||||
%i= t('.mention_helper_text')
|
|
||||||
- else
|
|
||||||
.badges
|
.badges
|
||||||
%i= t('.publishing_to')
|
%i= t('.publishing_to')
|
||||||
= aspect_badges(aspects_with_person, :link => false)
|
= aspect_badges(aspects_with_person, :link => false)
|
||||||
|
|
||||||
.public_toggle
|
.public_toggle
|
||||||
%span#publisher_service_icons
|
%span#publisher_service_icons
|
||||||
= link_to (image_tag "icons/monotone_wrench_settings.png"), "#question_mark_pane", :class => 'question_mark', :rel => 'facebox', :title => t('shared.public_explain.manage')#, :style=>"display:none;"
|
= link_to (image_tag "icons/monotone_wrench_settings.png"), "#question_mark_pane", :class => 'question_mark', :rel => 'facebox', :title => t('shared.public_explain.manage')
|
||||||
- if aspect == :all || :profile
|
- if aspect == :all || :profile
|
||||||
= status.hidden_field( :public)
|
= status.hidden_field( :public)
|
||||||
= image_tag "icons/globe.png", :title => t('.public'), :class => 'public_icon dim', :width => 16, :height => 16
|
= image_tag "icons/globe.png", :title => t('.public'), :class => 'public_icon dim', :width => 16, :height => 16
|
||||||
- if current_user.services
|
- if current_user.services
|
||||||
- for service in current_user.services
|
- for service in current_user.services
|
||||||
= image_tag "social_media_logos/#{service.provider}-16x16.png", :title => service.provider, :class => "service_icon dim", :id =>"#{service.provider}"
|
= image_tag "social_media_logos/#{service.provider}-16x16.png", :title => service.provider, :class => "service_icon dim", :id =>"#{service.provider}"
|
||||||
= status.submit t('.share'), :disable_with => t('.posting'), :class => 'button'
|
= status.submit t('.share'), :disable_with => t('.posting'), :class => 'button', :tabindex => 2
|
||||||
|
|
||||||
.facebox_content
|
.facebox_content
|
||||||
#question_mark_pane
|
#question_mark_pane
|
||||||
|
|
|
||||||
|
|
@ -514,7 +514,6 @@ en:
|
||||||
|
|
||||||
shared:
|
shared:
|
||||||
publisher:
|
publisher:
|
||||||
mention_helper_text: "to mention someone, press '@' and start typing their name"
|
|
||||||
posting: "Posting..."
|
posting: "Posting..."
|
||||||
share: "Share"
|
share: "Share"
|
||||||
post_a_message_to: "Post a message to %{aspect}"
|
post_a_message_to: "Post a message to %{aspect}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue