Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
d06c6ced38
4 changed files with 18 additions and 13 deletions
|
|
@ -47,8 +47,7 @@
|
||||||
%ul
|
%ul
|
||||||
%li#global_search
|
%li#global_search
|
||||||
= form_tag(people_path, :method => 'get') do
|
= form_tag(people_path, :method => 'get') do
|
||||||
%label{:for => 'q'} Search
|
= text_field_tag 'q', nil, :placeholder => "Search", :type => 'search', :results => 5
|
||||||
= text_field_tag 'q'
|
|
||||||
|
|
||||||
%li= link_to current_user.real_name, current_user.person
|
%li= link_to current_user.real_name, current_user.person
|
||||||
%li= link_to "settings", edit_user_path(current_user)
|
%li= link_to "settings", edit_user_path(current_user)
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,12 @@
|
||||||
%h1 you are about to post a public message!
|
%h3 You are about to post a public message!
|
||||||
%p
|
%p
|
||||||
this message is going to be posted to your public feed,
|
Public messages will be available for others outside of Diaspora to see.
|
||||||
and to any services you may have connected to Diaspora.
|
|
||||||
|
|
||||||
- if @logged_in
|
- if @logged_in
|
||||||
= connected_fb_as(@access_token)
|
= connected_fb_as(@access_token)
|
||||||
- else
|
- else
|
||||||
= link_to "Connect to Facebook", @fb_access_url
|
= link_to "Connect to Facebook", @fb_access_url
|
||||||
|
|
||||||
|
%br
|
||||||
|
%br
|
||||||
|
= link_to "OK", '#', :class => "button", :onClick => '$.fancybox.close();'
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,7 @@
|
||||||
|
|
||||||
$("div.public_toggle input").live("click", function(evt){
|
$("div.public_toggle input").live("click", function(evt){
|
||||||
if("#{@logged_in}" == "false" && $(this).attr('checked') == true){
|
if("#{@logged_in}" == "false" && $(this).attr('checked') == true){
|
||||||
if(confirm("You are currently not connected to facebook. Sign in to facebook?")){
|
$(".question_mark").click();
|
||||||
window.location = "#{@fb_access_url}";
|
|
||||||
} else {
|
|
||||||
$(this).attr('checked', false);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -34,8 +30,8 @@
|
||||||
- if @aspect == :all
|
- if @aspect == :all
|
||||||
.public_toggle
|
.public_toggle
|
||||||
= f.check_box( :public, :value => false )
|
= f.check_box( :public, :value => false )
|
||||||
share on facebook
|
make public
|
||||||
= link_to 'public info', "#question_mark_pane", :class => 'question_mark'
|
= link_to '(?)', "#question_mark_pane", :class => 'question_mark'
|
||||||
.yo{:style => "display:none;"}
|
.yo{:style => "display:none;"}
|
||||||
#question_mark_pane
|
#question_mark_pane
|
||||||
= render 'shared/public_explain'
|
= render 'shared/public_explain'
|
||||||
|
|
|
||||||
|
|
@ -542,6 +542,7 @@ li.message .from .destroy_link
|
||||||
|
|
||||||
input[type='text'],
|
input[type='text'],
|
||||||
input[type='password'],
|
input[type='password'],
|
||||||
|
input[type="search"],
|
||||||
textarea
|
textarea
|
||||||
:font
|
:font
|
||||||
:family 'Arial', 'Helvetica', sans-serif
|
:family 'Arial', 'Helvetica', sans-serif
|
||||||
|
|
@ -1019,3 +1020,9 @@ ul#settings_nav
|
||||||
:size 80px
|
:size 80px
|
||||||
:display inline-block
|
:display inline-block
|
||||||
|
|
||||||
|
input[type="search"]
|
||||||
|
:-webkit-appearance textfield
|
||||||
|
|
||||||
|
header
|
||||||
|
input[type="search"]
|
||||||
|
:width 200px
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue