Skip to content
Extraits de code Groupes Projets
Valider e8c49fec rédigé par maxwell's avatar maxwell
Parcourir les fichiers

made the public info link in all aspects publisher

parent 7e0825e4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
- unless @aspect == :all
%h4 Invites
= link_to "Invite a friend", "#invite_user_pane", :class => "invite_user_button", :class => "invite_user_button", :title => "Invite a friend"
= link_to "Invite a friend", "#invite_user_pane", :class => "invite_user_button", :title => "Invite a friend"
= "(#{invites} left)"
%br
.yo{ :style => "display:none;"}
......
%h1 you are about to post a public message!
%p
this message is going to be posted to your public feed,
and to any services you may have connected to Diaspora.
- if @logged_in
= connected_fb_as(@access_token)
- else
= link_to "Connect to Facebook", @fb_access_url
......@@ -35,7 +35,10 @@
.public_toggle
= f.check_box( :public, :value => false )
share on facebook
= link_to 'public info', "#question_mark_pane", :class => 'question_mark'
.yo{:style => "display:none;"}
#question_mark_pane
= render 'shared/public_explain'
.buttons
- if @aspect == :all
= f.submit t('.share'), :title => "Share with all aspects"
......
......@@ -18,7 +18,7 @@
= link_to "Disconnect from Facebook", services_destroy_path
- else
= link_to "Connect to Facebook (DO NOT USE WITH A REAL ACCOUNT)", @fb_access_url
= link_to "Connect to Facebook", @fb_access_url
#content_bottom
.back
......
......@@ -30,6 +30,7 @@ $(document).ready(function(){
$(".add_request_button").fancybox({ 'titleShow': false });
$(".invite_user_button").fancybox({ 'titleShow': false });
$(".add_request_button").fancybox({ 'titleShow': false });
$(".question_mark").fancybox({ 'titleShow': false });
$("input[type='submit']").addClass("button");
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter