header on public explain fancybox
This commit is contained in:
parent
f6303b8fff
commit
8751503aa4
2 changed files with 21 additions and 14 deletions
|
|
@ -1,12 +1,18 @@
|
|||
%h3 You are about to post a public message!
|
||||
%p
|
||||
Public messages will be available for others outside of Diaspora to see.
|
||||
%br
|
||||
%br
|
||||
- if @logged_in
|
||||
= connected_fb_as(@access_token)
|
||||
- else
|
||||
= link_to "Connect to Facebook", @fb_access_url
|
||||
%br
|
||||
%br
|
||||
= link_to "OK", '#', :class => "button", :onClick => '$.fancybox.close();'
|
||||
-# Copyright (c) 2010, Diaspora Inc. This file is
|
||||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
.span-12.last
|
||||
.modal_title_bar
|
||||
%h4 You are about to post a public message!
|
||||
%p
|
||||
Public messages will be available for others outside of Diaspora to see.
|
||||
%br
|
||||
%br
|
||||
- if @logged_in
|
||||
= connected_fb_as(@access_token)
|
||||
- else
|
||||
= link_to "Connect to Facebook", @fb_access_url
|
||||
%br
|
||||
%br
|
||||
= link_to "OK", '#', :class => "button", :onClick => '$.fancybox.close();'
|
||||
|
|
|
|||
|
|
@ -49,7 +49,8 @@ $(".comment_submit").live('click', function(evt){
|
|||
|
||||
$(".reshare_button").live("click", function(e){
|
||||
e.preventDefault();
|
||||
$(this).parent(".reshare_pane").children(".reshare_box").show();
|
||||
$(this).addClass("active");
|
||||
var button = $(this);
|
||||
button.parent(".reshare_pane").children(".reshare_box").show();
|
||||
button.addClass("active");
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue