Sha256: 487fd5b4c5908001febb197eee6920d3033f06dd4097ee9d7923aaa20ac7f704

Contents?: true

Size: 1.04 KB

Versions: 54

Compression:

Stored size: 1.04 KB

Contents

<%= javascript_include_tag 'site/site' %>

<% if @load_social_network_js %>
  <script type="text/javascript" src="https://apis.google.com/js/plusone.js" async="true"> 
  </script>

  <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1&appId=<%= get_setting(:facebook_app_id, :locale => false) %>";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));</script>


  <% [:notice, :error, :alert].each do |sym| %>

      <% if flash[sym].present? %>
        <%= javascript_tag do %>
          $.notify.<%= "#{sym}" %>('<%= j "#{flash[sym]}" %>');
        <% end %>

        <% flash.discard(sym) %>
      <% end %>
  
  <% end %>

  <script type="text/javascript" src="http://platform.twitter.com/widgets.js" async="true">
  </script>
<% end %>

<!-- script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true">
</script -->

<%= yield :javascripts %>

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
fullstack-cms-0.3.8.fix lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.2.32.fix lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.4.2 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.4.1 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.39 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.38 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.37 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.36 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.35 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.34 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.33 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.32 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.31 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.30 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.29 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.28 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.27 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.26 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.25 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb
fullstack-cms-0.3.24 lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb