<%= favicon_link_tag "favicons/favicon.ico" %> <%= yield :title %> <% if @has_new_dashboard %> <%= stylesheet_link_tag 'deep_insights_new', 'common_new', 'public_dashboard_new' %> <% else %> <%= editor_stylesheet_link_tag 'cartodb', 'deep_insights', 'common', 'public_dashboard' %> <% end %> <%= insert_google_tag_manager('embeds') %> <%= insert_google_tag_manager_no_script('embeds') %> <%= render 'admin/shared/public_header' %>
<% if @is_org %> <%= render "shared/public_dashboard_org_header" %> <% else %> <%= render "shared/public_dashboard_user_header" %> <% end %> <%= yield %> <%= render 'admin/shared/footer', { light: true } %> <%= insert_trackjs('embeds') %> <% if @needs_gmaps_lib %> <%= insert_google_maps(@gmaps_query_string) %> <% end %> <% if @has_new_dashboard %> <%= javascript_include_tag 'common', 'common_vendor', 'public_dashboard_new' %> <% else %> <%= editor_javascript_include_tag 'cdb.js', 'templates', 'public_dashboard_deps', 'public_dashboard' %> <% end %> <%= yield :js %>