Sha256: c84b0d48f994d0a932c910e5c92adf256e3ad26f732d782cd2a4b134357c3e91

Contents?: true

Size: 1.54 KB

Versions: 12

Compression:

Stored size: 1.54 KB

Contents

= stylesheet_link_tag('rad_social/rad_screen')
= javascript_include_tag("lib/rad_social/rad_widget")
- local_variables = defined?(locals) ? locals : local_assigns
- url = local_variables[:url]
- message = local_variables[:message]
- email_action_url = local_variables[:email_action_url]
- email_subject = local_variables[:email_subject]
- email_message = local_variables[:email_message]

.rad-widget
  .rad-icon
    %a{:class => "rad-popup-window rad-facebook", :href => "https://www.facebook.com/sharer/sharer.php?u=#{CGI::escape(url)}", :target=> "_blank"}
      %img{:src => "/assets/rad_social/facebook.png", :alt => "Facebook", :title => "Share to Facebook", :height => "26", :width => "26"}
  .rad-icon
    %a{:class => "rad-popup-window rad-twitter", :href => "https://twitter.com/intent/tweet?text=#{CGI::escape(message + " " + url)}"}
      %img{:src => "/assets/rad_social/twitter.png", :alt => "Twitter", :title => "Share to Twitter", :height => "26", :width => "26"}
  .rad-icon
    %a{:class => "rad-popup-window rad-email", :href => rad_social_mail_form_url(:email_subject => email_subject, :email_message => email_message, :email_action_url => email_action_url)}
      %img{:src => "/assets/rad_social/email.png", :alt => "Email a Friend", :title => "Email a Friend", :height => "26", :width => "26"}
  .rad-icon
    %a{:class => "rad-popup-window rad-gplus", :href => "https://plus.google.com/share?url=#{CGI::escape(url)}"}
      %img{:src => "/assets/rad_social/googleplus.png", :alt => "Google+", :title => "Share to Google+", :height => "26", :width => "26"}



Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
trusty-rad-social-extension-1.1.0 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.10 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.9 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.8 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.7 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.6 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.5 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.4 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.3 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.2 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.1 app/views/widget/_horizontal_widget.html.haml
trusty-rad-social-extension-1.0.0 app/views/widget/_horizontal_widget.html.haml