<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
  <title><%= page_title %> / <%= SETTINGS.organization %>: <%= SETTINGS.tagline %></title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <meta name="description" content="<%= SETTINGS.tagline %>" />

  <!-- Feeds -->
  <%= auto_discovery_link_tag(:atom, formatted_proposals_path(:atom), :title => "#{SETTINGS.organization}: Proposals feed") %>
  <% if admin? %>
    <%= auto_discovery_link_tag(:atom, formatted_comments_path(:atom, :secret => CommentsController::SECRET), :title => "#{SETTINGS.organization}: Proposals comments feed") %>
  <% end %>

  <!-- Stylesheets -->
  <% if localcss? %>
    <%= theme_stylesheet_link_tag 'common_css/osbp_common_v3.css' %>
  <% else %>
    <%= stylesheet_link_tag '/common/osbp_common_v3.css' %>
  <% end %>
  <%= theme_stylesheet_link_tag "custom" %>
  <%= yield :stylesheets %>

  <!-- Dynamic styles -->
  <% cache "layout,event_track_styles,event_#{current_event_cache_key}" do %>
    <% if @event && event_tracks? %>
      <style type="text/css" media="screen">
        <%= render :partial => 'tracks/colors.css.erb', :locals => {:tracks => @event.tracks_combined} %>
      </style>
    <% end %>
  <% end %>

  <!-- Scripts -->
  <%= javascript_include_tag 'jquery.min.js', 'jquery-ui.effects.core', 'jquery-ui.effects.highlight', 'application', :cache => 'cache/all' %>
  
  <%# TODO Add script and stylesheet yield blocks to other themes -%>
  <%= yield :scripts -%>

  <% expose_to_js( :current_user, current_user == :false ? false : current_user.id ) -%>
  <% expose_to_js( :authenticity_token, form_authenticity_token ) if protect_against_forgery? -%>

  <script type="text/javascript" charset="utf-8">
    $(document).ready(function() {
<%=       indent_block( yield(:javascript_expose_values), 3) -%>
<%=       indent_block( yield(:javascript_on_ready), 3) -%>
    });
  </script>
</head>

<body class='<%= "#{controller.controller_name} #{action_name}" %>'>
  <a name='top'></a>
  <div id="wrapper">
      <%= render :partial => "layouts/header" %>

      <div id="container">
        <div class='section_title'>
          <h2 class='event_level'><%= link_to subnav_title, subnav_path %></h2>
        </div>
<commit_msg>Render track color styles for all events, not just @event.<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
  <title><%= page_title %> / <%= SETTINGS.organization %>: <%= SETTINGS.tagline %></title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <meta name="description" content="<%= SETTINGS.tagline %>" />

  <!-- Feeds -->
  <%= auto_discovery_link_tag(:atom, formatted_proposals_path(:atom), :title => "#{SETTINGS.organization}: Proposals feed") %>
  <% if admin? %>
    <%= auto_discovery_link_tag(:atom, formatted_comments_path(:atom, :secret => CommentsController::SECRET), :title => "#{SETTINGS.organization}: Proposals comments feed") %>
  <% end %>

  <!-- Stylesheets -->
  <% if localcss? %>
    <%= theme_stylesheet_link_tag 'common_css/osbp_common_v3.css' %>
  <% else %>
    <%= stylesheet_link_tag '/common/osbp_common_v3.css' %>
  <% end %>
  <%= theme_stylesheet_link_tag "custom" %>
  <%= yield :stylesheets %>

  <!-- Dynamic styles -->
  <% cache "layout,event_track_styles,event_#{current_event_cache_key}" do %>
    <% if @event && event_tracks? %>
      <style type="text/css" media="screen">
        <%= render :partial => 'tracks/colors.css.erb', :locals => {
          :tracks => @events.sort_by(&:start_date).map(&:tracks_combined).flatten} %>
      </style>
    <% end %>
  <% end %>

  <!-- Scripts -->
  <%= javascript_include_tag 'jquery.min.js', 'jquery-ui.effects.core', 'jquery-ui.effects.highlight', 'application', :cache => 'cache/all' %>
  
  <%# TODO Add script and stylesheet yield blocks to other themes -%>
  <%= yield :scripts -%>

  <% expose_to_js( :current_user, current_user == :false ? false : current_user.id ) -%>
  <% expose_to_js( :authenticity_token, form_authenticity_token ) if protect_against_forgery? -%>

  <script type="text/javascript" charset="utf-8">
    $(document).ready(function() {
<%=       indent_block( yield(:javascript_expose_values), 3) -%>
<%=       indent_block( yield(:javascript_on_ready), 3) -%>
    });
  </script>
</head>

<body class='<%= "#{controller.controller_name} #{action_name}" %>'>
  <a name='top'></a>
  <div id="wrapper">
      <%= render :partial => "layouts/header" %>

      <div id="container">
        <div class='section_title'>
          <h2 class='event_level'><%= link_to subnav_title, subnav_path %></h2>
        </div>

{'fraction_non_alphanumeric': 0.20308740978348036, 'fraction_numerical': 0.008420208500400962, 'mean_word_length': 4.049595141700405, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 129, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5517731', 'n_tokens_mistral': 1893, 'n_tokens_neox': 1695, 'n_words': 297}